aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-09-17 13:46:26 +0200
committerGitHub <noreply@github.com>2020-09-17 13:46:26 +0200
commitb94a35ef40437e8ba6eff561697e7d4a6b8d053a (patch)
tree1ea99bc5f549aee5aea1284e7fe894ba896a82bf /tests
parentfe5cbfd48ff863f21a20b84e324ecfd6395673cb (diff)
parent520895b1dac1b82be9f571df3981a15cfada2968 (diff)
Merge pull request #4027 from tweag/fix-gc-of-ca-derivations
Fix garbage collection of CA derivations
Diffstat (limited to 'tests')
-rw-r--r--tests/content-addressed.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/content-addressed.sh b/tests/content-addressed.sh
index ae9e3c59e..0ae2852d2 100644
--- a/tests/content-addressed.sh
+++ b/tests/content-addressed.sh
@@ -15,3 +15,6 @@ out1=$(nix-build "${commonArgs[@]}" ./content-addressed.nix --arg seed 1)
out2=$(nix-build "${commonArgs[@]}" ./content-addressed.nix --arg seed 2)
test $out1 == $out2
+
+nix-instantiate --experimental-features ca-derivations ./content-addressed.nix -A rootCA --arg seed 5
+nix-collect-garbage --experimental-features ca-derivations --option keep-derivations true