-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The nar.sh checks fail for some Linux machines #11595
Comments
After some quick investigation, it seems that |
oh, someone actually uses zfs' i'd probably change the test to check that either it created both store paths (probably with |
Thanks @puckipedia. It makes sense that we just test the two existing possibilities but without assuming anything based on the current system, as long as one we get one of the two accepted outcomes. I have a patch in my fork, currently testing it on the runner. I'll open a PR once that works. |
@puckipedia |
Platform
Additional information
When building nix as a dependency of another project through the
github:nixos/nix
flake on a Linux runner, latest Nix (I've tried several commits, last was 322d2c7) fails to build (more specifically, the tests fail). The host is a Zen 4 EPYC with x86_64 Linux (NixOS 24.05). Filesystem is ZFS.On another local Linux machine (
Linux 6.10.11-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1 (2024-09-22) x86_64 GNU/Linux
), the project builds correctly.The failing test is
nar.sh
, more specifically this part:https://github.com/NixOS/nix/blob/master/tests/functional/nars.sh#L91-L100
It seems that Darwin and Linux have a different expected behaviour here, but for some reason the Linux runner specifically ends up having Darwin's behaviour.
Output
Output
Full output available here: https://github.com/tweag/nickel/actions/runs/11016505458/job/30592178626?pr=2037#step:5:3894
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: