Add accept-flake-config-flag
This commit is contained in:
parent
609dca453c
commit
6592e46098
|
@ -32,8 +32,8 @@ main = do
|
||||||
git "clone" repo "."
|
git "clone" repo "."
|
||||||
git "checkout" (toString branch)
|
git "checkout" (toString branch)
|
||||||
say "Running checks"
|
say "Running checks"
|
||||||
nix "flake" "check" "--builders" "@/etc/nix/machines"
|
nix "flake" "check" "--builders" "@/etc/nix/machines" "--accept-flake-config"
|
||||||
nix ["build", ".#checks.x86_64-linux.system-checks", "-o", "/var/cache/gc-links/test-config", "--builders", "@/etc/nix/machines"]
|
nix ["build", ".#checks.x86_64-linux.system-checks", "-o", "/var/cache/gc-links/test-config", "--builders", "@/etc/nix/machines", "--accept-flake-config"]
|
||||||
say "Checks succeeded"
|
say "Checks succeeded"
|
||||||
when (branch == "main") $ do
|
when (branch == "main") $ do
|
||||||
say [i|Deploying new config to localhost.|]
|
say [i|Deploying new config to localhost.|]
|
||||||
|
|
Loading…
Reference in a new issue