1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-27 01:52:21 +03:00
digga/.envrc
Timothy DeHerrera c9495ea881
direnv: use nix print-dev-env
In order to increase determinism in the build environment, we are
having direnv load the shell environment from the flake's `devShell`
output, instead of the traditional `nix-shell` approach. Of course,
one can still enter a `nix-shell` manually on a system without flake
support installed.
2020-07-13 20:00:47 -06:00

6 lines
130 B
Plaintext

# reload when these files change
watch_file flake.nix
watch_file flake.lock
# load the flake devShell
eval "$(nix print-dev-env)"