mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 11:36:11 +01:00
make self-contained using resholve
This commit is contained in:
parent
892f1b5f37
commit
add18037af
3 changed files with 40 additions and 13 deletions
4
direnvrc
4
direnvrc
|
|
@ -59,10 +59,6 @@ _nix_direnv_preflight() {
|
|||
_nix_direnv_fatal '$direnv environment variable was not defined. Was this script run inside direnv?'
|
||||
fi
|
||||
|
||||
if [[ -n ${NIX_BIN_PREFIX:-} ]]; then
|
||||
PATH_add "$NIX_BIN_PREFIX"
|
||||
fi
|
||||
|
||||
# check command min versions, bash check uses $BASH_VERSION with _require_version
|
||||
# instead of _require_cmd_version because _require_cmd_version uses =~ operator which
|
||||
# would be a syntax error on bash < 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue