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