diff --git a/shell.nix b/shell.nix index e792e729..6de3a119 100644 --- a/shell.nix +++ b/shell.nix @@ -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" "$@"