mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
The bug reappeared after all, and the fix introduced a different bug. I
just reverted on 2.27 first, in #12576, but upon further introspection
and discussion with @roberth, with preparing for and travelling to
Planet Nix I will not be able to fix it on `master` soon enough for a
revert to not be warranted here in the meantime also.
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"
|