mirror of
https://github.com/NixOS/nix
synced 2025-07-08 19:23:54 +02:00
Merge pull request #4937 from NixOS/ca/make-the-tests-useful
Make the CA tests actually test something
This commit is contained in:
commit
f5320299dd
6 changed files with 92 additions and 55 deletions
11
tests/ca/post-hook.sh
Executable file
11
tests/ca/post-hook.sh
Executable file
|
@ -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 ./post-hook.sh
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue