2022-04-26 08:48:39 +00:00
|
|
|
{ pkgs ? import (builtins.getFlake (toString ./.)).inputs.nixpkgs { }
|
|
|
|
, system ? pkgs.system
|
2022-04-25 09:23:06 +00:00
|
|
|
}:
|
2022-04-22 08:36:52 +00:00
|
|
|
|
2021-03-21 18:05:11 +00:00
|
|
|
{
|
|
|
|
builtJob = pkgs.writeText "job1" "job1";
|
|
|
|
substitutedJob = pkgs.hello;
|
2022-04-25 09:23:06 +00:00
|
|
|
|
|
|
|
dontRecurse = {
|
|
|
|
# This shouldn't build as `recurseForDerivations = true;` is not set
|
|
|
|
# recurseForDerivations = true;
|
|
|
|
|
|
|
|
# This should not build
|
|
|
|
drvB = derivation {
|
|
|
|
inherit system;
|
|
|
|
name = "drvA";
|
|
|
|
builder = ":";
|
|
|
|
};
|
2022-04-22 08:36:52 +00:00
|
|
|
};
|
2022-04-25 09:23:06 +00:00
|
|
|
|
|
|
|
recurse = {
|
|
|
|
# This should build
|
|
|
|
recurseForDerivations = true;
|
|
|
|
|
|
|
|
# This should not build
|
|
|
|
drvB = derivation {
|
|
|
|
inherit system;
|
|
|
|
name = "drvB";
|
|
|
|
builder = ":";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-04-26 05:11:17 +00:00
|
|
|
"dotted.attr" = pkgs.hello;
|
|
|
|
|
2021-03-21 18:05:11 +00:00
|
|
|
}
|