diff options
Diffstat (limited to 'tests/functional/secure-drv-outputs.nix')
-rw-r--r-- | tests/functional/secure-drv-outputs.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/functional/secure-drv-outputs.nix b/tests/functional/secure-drv-outputs.nix new file mode 100644 index 000000000..b4ac8ff53 --- /dev/null +++ b/tests/functional/secure-drv-outputs.nix @@ -0,0 +1,23 @@ +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 + ''; + }; + +} |