diff options
author | regnat <rg@regnat.ovh> | 2021-06-23 17:27:18 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-06-24 14:53:10 +0200 |
commit | 7746cb13dc4e644c9792b3e3666cd49635d694e0 (patch) | |
tree | f4e5e4f07d66933c8f5e4f717e8eecae61e056e7 /tests/ca | |
parent | 0a535dd5ac93576f7152d786464e330ae3d46b50 (diff) |
Make CA derivations compatible with recursive Nix
Add an access-control list to the realisations in recursive-nix (similar
to the already existing one for store paths), so that we can build
content-addressed derivations in the restricted store.
Fix #4353
Diffstat (limited to 'tests/ca')
-rwxr-xr-x | tests/ca/recursive.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ca/recursive.sh b/tests/ca/recursive.sh new file mode 100755 index 000000000..d9281d91f --- /dev/null +++ b/tests/ca/recursive.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +source common.sh + +sed -i 's/experimental-features .*/& ca-derivations ca-references nix-command flakes/' "$NIX_CONF_DIR"/nix.conf + +export NIX_TESTS_CA_BY_DEFAULT=1 +cd .. +source ./recursive.sh + + |