mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 06:56:14 +02:00
24 lines
332 B
Nix
24 lines
332 B
Nix
|
with import ./config.nix;
|
||
|
|
||
|
{
|
||
|
|
||
|
good = mkDerivation {
|
||
|
name = "good";
|
||
|
builder = builtins.toFile "builder"
|
||
|
''
|
||
|
mkdir $out
|
||
|
touch $out/good
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
bad = mkDerivation {
|
||
|
name = "good";
|
||
|
builder = builtins.toFile "builder"
|
||
|
''
|
||
|
mkdir $out
|
||
|
touch $out/bad
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
}
|