forked from lix-project/lix
addacfce4a
When `NIX_DAEMON_PACKAGE` is set, make all the tests use the Nix daemon. That way we can test every piece of Nix functionality both with and without the daemon. Tests for which using the daemon isn’t possible or doesn’t make sens can selectively be disabled with `needLocalStore`
14 lines
256 B
Bash
Executable file
14 lines
256 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
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
|
|
|
|
|