summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-09-09 10:23:20 +0200
committertv <tv@krebsco.de>2018-09-09 10:25:02 +0200
commit955efb307ea74171b1f54a6a27e4c613bdce2355 (patch)
tree42dbf124ff4821a2c347574eb383728dc3a4c36e
parent976f683915dd683b29eb995d73e49459ddc12e00 (diff)
buildbot-stockholm: build using the test attribute
While at it, fix */krops.nix to actually use the target attribute.
-rw-r--r--krops.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/krops.nix b/krops.nix
index 9a701dcac..30385c10e 100644
--- a/krops.nix
+++ b/krops.nix
@@ -75,14 +75,9 @@ in {
target = "root@${target}/var/src";
};
- # usage: $(nix-build --no-out-link --argstr name HOSTNAME -A test)
+ # usage: $(nix-build --no-out-link --argstr name HOSTNAME --argstr target PATH -A test)
test = pkgs.krops.writeTest "${name}-test" {
+ inherit target;
source = source { test = true; };
- target = "${lib.getEnv "HOME"}/tmp/${name}-krops-test-src";
- };
-
- ci = pkgs.krops.writeTest "${name}-test" {
- source = source { test = true; };
- target = "${lib.getEnv "HOME"}/stockholm-build";
};
}
[cgit] Unable to lock slot /tmp/cgit/d1200000.lock: No such file or directory (2)