nix/tests/secure-drv-outputs.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
'';
};
}