aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-09-13 20:14:33 +0200
committertv <tv@krebsco.de>2018-09-13 20:14:33 +0200
commitb74b0b958a11598f7dd8c0e32b1bb3d8265eb147 (patch)
treea98542659877481602ac36569b631662617c9e96 /pkgs
parent2440120c88cb2e709fa70950949768f30c5d8a0f (diff)
writeTest: simplify nix-build call
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/krops/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/krops/default.nix b/pkgs/krops/default.nix
index d2f9c8a..98d7e17 100644
--- a/pkgs/krops/default.nix
+++ b/pkgs/krops/default.nix
@@ -23,12 +23,11 @@ in
set -efu
${populate { inherit source; target = target'; }}
${nix}/bin/nix-build \
- -A config.system.build.toplevel \
+ -A system \
-I ${target'.path} \
- --arg modules '[<nixos-config>]' \
--no-out-link \
--show-trace \
- '<nixpkgs/nixos/lib/eval-config.nix>'
+ '<nixpkgs/nixos>'
'';
}