aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-09-04 14:38:45 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-09-04 14:41:53 +0000
commitc9f1ed912c2ed3d53fdfe84cbb0012b5c7c2332f (patch)
tree4ab6219e673c9113e399657a0bd09c0bb9cd600e /tests
parentb99062b023e56865ba20371b29fa3be6e6149d46 (diff)
Don't chmod symlink before moving outputs around
Co-authored-by: Théophane Hufschmitt <regnat@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/content-addressed.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/content-addressed.nix b/tests/content-addressed.nix
index b0eb29c3f..5e9bad0ac 100644
--- a/tests/content-addressed.nix
+++ b/tests/content-addressed.nix
@@ -16,11 +16,14 @@ rec {
};
rootCA = mkDerivation {
name = "dependent";
+ outputs = [ "out" "dev" ];
buildCommand = ''
echo "building a CA derivation"
echo "The seed is ${toString seed}"
mkdir -p $out
echo ${rootLegacy}/hello > $out/dep
+ # test symlink at root
+ ln -s $out $dev
'';
__contentAddressed = true;
outputHashMode = "recursive";