Fix cachix-populate just recipe
This commit is contained in:
9
justfile
9
justfile
@@ -22,14 +22,7 @@ cachix-populate host="strixi-minaj":
|
|||||||
command -v cachix >/dev/null
|
command -v cachix >/dev/null
|
||||||
command -v nix >/dev/null
|
command -v nix >/dev/null
|
||||||
|
|
||||||
mapfile -t outs < <(
|
mapfile -t outs < <(nix build --no-link --print-build-logs --print-out-paths ./{{nixos_dir}}#nixosConfigurations.{{host}}.config.system.build.toplevel --override-input railbird-secrets ./{{railbird_secrets_stub}})
|
||||||
nix build \
|
|
||||||
--no-link \
|
|
||||||
--print-build-logs \
|
|
||||||
--print-out-paths \
|
|
||||||
./{{nixos_dir}}#nixosConfigurations.{{host}}.config.system.build.toplevel \
|
|
||||||
--override-input railbird-secrets ./{{railbird_secrets_stub}}
|
|
||||||
)
|
|
||||||
|
|
||||||
cachix push {{cachix_cache}} "${outs[@]}"
|
cachix push {{cachix_cache}} "${outs[@]}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user