mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +02:00
tests/common.sh.in: Add enableFeatures helper
This commit is contained in:
parent
5d208cbe41
commit
d2586188fe
12 changed files with 13 additions and 22 deletions
|
@ -4,8 +4,6 @@ source common.sh
|
|||
|
||||
requireDaemonNewerThan "2.4pre20210626"
|
||||
|
||||
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 ./post-hook.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue