Skip to content

Commit

Permalink
make flake-parts .envrc match .nix and .lock files
Browse files Browse the repository at this point in the history
  • Loading branch information
therealpxc committed Jul 23, 2024
1 parent 6450828 commit 20d4ccf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions templates/flake-parts/.envrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs="
fi

nix_direnv_watch_file devenv.nix
nix_direnv_watch_file devenv.lock
nix_direnv_watch_file devenv.yaml
nix_direnv_watch_file flake.nix
nix_direnv_watch_file flake.lock

if ! use flake . --override-input devenv-root "file+file://"<(printf %s "$PWD")
then
Expand Down

0 comments on commit 20d4ccf

Please sign in to comment.