1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-24 00:21:47 +03:00

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

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