Skip to content

Commit

Permalink
Merge pull request #11 from tsandrini/update-envrc
Browse files Browse the repository at this point in the history
fix(envrc): fix incorrent devshell watch filename
  • Loading branch information
tsandrini authored Mar 12, 2024
2 parents d390c15 + 6d1fd4e commit fa1babd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion templates/home/.envrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ 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

watch_file parts/shells/devenv.nix
watch_file parts/shells/dev.nix
if ! use flake .#dev --impure --accept-flake-config
then
echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2
Expand Down
2 changes: 1 addition & 1 deletion templates/isolated-minimal/.envrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ 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

watch_file nix/parts/shells/devenv.nix
watch_file nix/parts/shells/dev.nix
if ! use flake .#dev --impure --accept-flake-config
then
echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2
Expand Down
2 changes: 1 addition & 1 deletion templates/isolated/.envrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ 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

watch_file nix/parts/shells/devenv.nix
watch_file nix/parts/shells/dev.nix
if ! use flake .#dev --impure --accept-flake-config
then
echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2
Expand Down
2 changes: 1 addition & 1 deletion templates/main/.envrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ 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

watch_file parts/shells/devenv.nix
watch_file parts/shells/dev.nix
if ! use flake .#dev --impure --accept-flake-config
then
echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2
Expand Down
2 changes: 1 addition & 1 deletion templates/minimal/.envrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ 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

watch_file parts/shells/devenv.nix
watch_file parts/shells/dev.nix
if ! use flake .#dev --impure --accept-flake-config
then
echo "devenv could not be built. The devenv environment was not loaded. Make the necessary changes to devenv.nix and hit enter to try again." >&2
Expand Down

0 comments on commit fa1babd

Please sign in to comment.