packages/activate-shell: allow overriding devShell attribute
This commit is contained in:
parent
a0ac3348e6
commit
879cf18fad
1 changed files with 1 additions and 1 deletions
|
@ -2,4 +2,4 @@ export REPO_ROOT="$(git rev-parse --show-toplevel)"
|
||||||
if ! has nix_direnv_version || ! nix_direnv_version 2.1.0; then
|
if ! has nix_direnv_version || ! nix_direnv_version 2.1.0; then
|
||||||
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.0/direnvrc" "sha256-FAT2R9yYvVg516v3LiogjIc8YfsbWbMM/itqWsm5xTA="
|
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.0/direnvrc" "sha256-FAT2R9yYvVg516v3LiogjIc8YfsbWbMM/itqWsm5xTA="
|
||||||
fi
|
fi
|
||||||
use flake "${REPO_ROOT}#$(basename $PWD)"
|
use flake "${REPO_ROOT}#${DEVSHELL_ATTR:-$(basename $PWD)}"
|
||||||
|
|
Loading…
Reference in a new issue