mirror of
https://github.com/NixOS/nix.git
synced 2024-10-30 13:50:51 +00:00
24 lines
334 B
Nix
24 lines
334 B
Nix
with import ./config.nix;
|
|
|
|
{
|
|
|
|
good = mkDerivation {
|
|
name = "good";
|
|
builder = builtins.toFile "builder"
|
|
''
|
|
mkdir $out
|
|
echo > $out/good
|
|
'';
|
|
};
|
|
|
|
bad = mkDerivation {
|
|
name = "good";
|
|
builder = builtins.toFile "builder"
|
|
''
|
|
mkdir $out
|
|
echo > $out/bad
|
|
'';
|
|
};
|
|
|
|
}
|