mirror of
https://github.com/NixOS/nix
synced 2025-07-09 03:43:54 +02:00
Merge pull request #8322 from tweag/stabilize-discard-references
Stabilize `discard-references`
This commit is contained in:
commit
4999f42a70
6 changed files with 11 additions and 24 deletions
|
@ -42,8 +42,10 @@ nix-build -o $RESULT check-refs.nix -A test7
|
|||
nix-build -o $RESULT check-refs.nix -A test10
|
||||
|
||||
if isDaemonNewer 2.12pre20230103; then
|
||||
enableFeatures discard-references
|
||||
restartDaemon
|
||||
if ! isDaemonNewer 2.16.0; then
|
||||
enableFeatures discard-references
|
||||
restartDaemon
|
||||
fi
|
||||
|
||||
# test11 should succeed.
|
||||
test11=$(nix-build -o $RESULT check-refs.nix -A test11)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue