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:
parent
01a3f4d7ec
commit
be7a4a6a13
4 changed files with 89 additions and 52 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