]> Git — Sourcephile - haskell/symantic-parser.git/blob - .envrc
rename {Automaton => Machine}
[haskell/symantic-parser.git] / .envrc
1 use_flake() {
2 watch_file flake.nix
3 watch_file flake.lock
4 watch_file default.nix
5 watch_file shell.nix
6 mkdir -p "$(direnv_layout_dir)"
7 eval "$(nix print-dev-env --option allow-import-from-derivation true -L --show-trace --profile "$(direnv_layout_dir)/flake-profile" || echo false)" &&
8 nix-store --add-root "shell.root" \
9 --indirect --realise "$(direnv_layout_dir)/flake-profile"
10 }
11 use flake