move the api-test.nix in to the jobsdir
This commit is contained in:
13
t/jobs/api-test.nix
Normal file
13
t/jobs/api-test.nix
Normal file
@ -0,0 +1,13 @@
|
||||
let
|
||||
thisFile = builtins.toFile "default.nix" (builtins.readFile ./default.nix);
|
||||
builder = builtins.toFile "builder.sh" ''
|
||||
echo ${thisFile} > $out
|
||||
'';
|
||||
in {
|
||||
job = derivation {
|
||||
name = "job";
|
||||
system = builtins.currentSystem;
|
||||
builder = "/bin/sh";
|
||||
args = [ builder ];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user