m krops.nix: unify interface for ci.nix

This commit is contained in:
lassulus 2018-09-09 19:16:57 +02:00
parent 511e84d24f
commit 516a425eda

View file

@ -76,7 +76,7 @@ in {
};
# usage: $(nix-build --no-out-link --argstr name HOSTNAME --argstr target PATH -A test)
test = pkgs.krops.writeTest "${name}-test" {
test = { target ? target }: pkgs.krops.writeTest "${name}-test" {
inherit target;
source = source { test = true; };
};