mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 22:32:26 +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
|
|
'';
|
|
};
|
|
|
|
}
|