mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
The bug reappeared after all, and the fix introduced a different bug. We
want to release 2.27 imminently so there is no time to do a proper fix,
which appears to require a larger reworking. Hopefully we will have it
for 2.28, however.
This reverts commit c98525235f
.
14 lines
478 B
Bash
14 lines
478 B
Bash
#!/usr/bin/env bash
|
|
|
|
source common.sh
|
|
|
|
# Store layer needs bugfix
|
|
requireDaemonNewerThan "2.27pre20250205"
|
|
|
|
skipTest "dyn drv input scheduling had to be reverted for 2.27"
|
|
|
|
expected=100
|
|
if [[ -v NIX_DAEMON_PACKAGE ]]; then expected=1; fi # work around the daemon not returning a 100 status correctly
|
|
|
|
expectStderr "$expected" nix-build ./text-hashed-output.nix -A failingWrapper --no-out-link \
|
|
| grepQuiet "build of '.*use-dynamic-drv-in-non-dynamic-drv-wrong.drv' failed"
|