shell: silent nix-command check

This commit is contained in:
Timothy DeHerrera 2020-12-19 18:35:33 -07:00
parent d3f0ad14d3
commit 2f10157648
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
1 changed files with 1 additions and 1 deletions

View File

@ -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" "$@"