Skip to content

Commit

Permalink
Merge pull request #1340 from therealpxc/flake-parts-template-fixup
Browse files Browse the repository at this point in the history
make flake-parts .envrc match .nix and .lock files
  • Loading branch information
domenkozar authored Jul 23, 2024
2 parents 6450828 + 20d4ccf commit 41af76b
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 41af76b

Please sign in to comment.