1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-12 14:55:09 +02:00

Fix nix build --dry-run with CA derivations

Don’t try and assume that we know the output paths when we’ve just built
with `--dry-run`. Instead make `--dry-run` follow a different code path
that won’t assume the knowledge of the output paths at all.

Fix #6275
This commit is contained in:
Théophane Hufschmitt 2022-03-17 11:34:31 +01:00
parent fe1ad96135
commit 3fc4c612fb
5 changed files with 67 additions and 8 deletions

6
tests/ca/build-dry.sh Normal file
View file

@ -0,0 +1,6 @@
source common.sh
export NIX_TESTS_CA_BY_DEFAULT=1
cd .. && source build-dry.sh