mirror of
https://github.com/NixOS/nix.git
synced 2024-11-27 01:02:34 +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
|
|
'';
|
|
};
|
|
|
|
}
|