source/.envrc

10 lines
411 B
Bash

# This way "import <snapshot>" means to use vendored nixpkgs snapshot anywhere in
# this repository, no matter how deep inside subdirectory tree it is. Alternative of
# using "import ../../." (with correct amount of "..") makes moving things around more
# complicated.
#
# Not something one need to do every day, but still. Ergonomics matters.
export NIX_PATH=snapshot=$PWD:nixpkgs=$PWD/nixpkgs
# vim:ft=bash: