shell: silent nix-command check
This commit is contained in:
parent
d3f0ad14d3
commit
2f10157648
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ pkgs.mkShell {
|
|||
|
||||
shellHook = ''
|
||||
mkdir -p secrets
|
||||
if ! nix flake show; then
|
||||
if ! nix flake show &> /dev/null; then
|
||||
PATH=${
|
||||
pkgs.writeShellScriptBin "nix" ''
|
||||
${pkgs.nixFlakes}/bin/nix --option experimental-features "nix-command flakes ca-references" "$@"
|
||||
|
|
Loading…
Reference in a new issue