mirror of
https://cgit.krebsco.de/krops
synced 2024-11-26 21:19:47 +01:00
writeTest: simplify nix-build call
This commit is contained in:
parent
2440120c88
commit
b74b0b958a
1 changed files with 2 additions and 3 deletions
|
@ -23,12 +23,11 @@ in
|
||||||
set -efu
|
set -efu
|
||||||
${populate { inherit source; target = target'; }}
|
${populate { inherit source; target = target'; }}
|
||||||
${nix}/bin/nix-build \
|
${nix}/bin/nix-build \
|
||||||
-A config.system.build.toplevel \
|
-A system \
|
||||||
-I ${target'.path} \
|
-I ${target'.path} \
|
||||||
--arg modules '[<nixos-config>]' \
|
|
||||||
--no-out-link \
|
--no-out-link \
|
||||||
--show-trace \
|
--show-trace \
|
||||||
'<nixpkgs/nixos/lib/eval-config.nix>'
|
'<nixpkgs/nixos>'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue