mirror of
https://github.com/NixOS/nix
synced 2025-07-12 06:35:08 +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:
parent
fe1ad96135
commit
3fc4c612fb
5 changed files with 67 additions and 8 deletions
6
tests/ca/build-dry.sh
Normal file
6
tests/ca/build-dry.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
source common.sh
|
||||
|
||||
export NIX_TESTS_CA_BY_DEFAULT=1
|
||||
|
||||
cd .. && source build-dry.sh
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue