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