1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-08-02 13:07:46 +00:00

Don't download git and nom on every rebuild

This commit is contained in:
RGBCube 2023-11-20 15:03:39 +03:00
parent 447c1534ec
commit 50c277a6bb
No known key found for this signature in database
2 changed files with 2 additions and 5 deletions

View file

@ -24,8 +24,5 @@ def main [
exit
}
sudo --validate
nix-shell --packages git nix-output-monitor --command $"sudo nixos-rebuild switch --log-format internal-json --impure --flake .#($machine) ($arguments | str join ' ') |& nom --json"
sudo nixos-rebuild switch --log-format internal-json --impure --flake (".#" + $machine) ($arguments | str join ' ') | nom --json
}