2011-07-20 12:15:40 +00:00
|
|
|
with import ./config.nix;
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
good = mkDerivation {
|
|
|
|
name = "good";
|
|
|
|
builder = builtins.toFile "builder"
|
|
|
|
''
|
|
|
|
mkdir $out
|
2011-08-08 14:08:38 +00:00
|
|
|
echo > $out/good
|
2011-07-20 12:15:40 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
bad = mkDerivation {
|
|
|
|
name = "good";
|
|
|
|
builder = builtins.toFile "builder"
|
|
|
|
''
|
|
|
|
mkdir $out
|
2011-08-08 14:08:38 +00:00
|
|
|
echo > $out/bad
|
2011-07-20 12:15:40 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|