m krops.nix: unify interface for ci.nix
This commit is contained in:
parent
511e84d24f
commit
516a425eda
|
@ -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; };
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue