Skip to content

Commit

Permalink
Merge pull request #1719 from jashandeep-sohi/patch-1
Browse files Browse the repository at this point in the history
flake-parts template: Update nix-direnv to 3.0.6
  • Loading branch information
domenkozar authored Feb 12, 2025
2 parents 6c987a8 + fefd6b8 commit a125f42
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/flake-parts/.envrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
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="
if ! has nix_direnv_version || ! nix_direnv_version 3.0.6; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.6/direnvrc" "sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM="
fi

nix_direnv_watch_file flake.nix
nix_direnv_watch_file flake.lock
watch_file flake.nix
watch_file flake.lock

DEVENV_ROOT_FILE="$(mktemp)"
printf %s "$PWD" > "$DEVENV_ROOT_FILE"
Expand Down

0 comments on commit a125f42

Please sign in to comment.