mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
don't print nix version
This commit is contained in:
parent
7cec473d58
commit
1322dc3dbe
1 changed files with 1 additions and 1 deletions
2
direnvrc
2
direnvrc
|
|
@ -123,7 +123,7 @@ use_nix() {
|
|||
path=$("${NIX_BIN_PREFIX}nix-instantiate" --find-file nixpkgs)
|
||||
layout_dir=$(direnv_layout_dir)
|
||||
local experimental_flags=()
|
||||
if nix-shell --experimental-features '' --version 2>/dev/null; then
|
||||
if nix-shell --experimental-features '' --version 2>/dev/null >&2; then
|
||||
experimental_flags+=('--experimental-features' 'nix-command flakes')
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue