1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 02:43:54 +02:00

Make the post-build-hook also run for unresolved CA derivations

Fix #4837
This commit is contained in:
regnat 2021-06-24 11:41:51 +02:00
parent 01a3f4d7ec
commit be7a4a6a13
4 changed files with 89 additions and 52 deletions

11
tests/ca/post-hook.sh Executable file
View 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