-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
pkgsStatic.coreutils: error targetPackages.darwin.LibsystemCross x86_64-apple-darwin #270375
Comments
Yes, correct, before that commit I think it's fine to keep this issue open to track In the meantime can you verify that the PR fixes your issue? |
Yes, it fixes the issue at hand and it is building $ otool -L /nix/store/fbzhv146kg8b8mp90q8ncrqj7l2fj4wy-coreutils-9.3/bin/coreutils
/nix/store/fbzhv146kg8b8mp90q8ncrqj7l2fj4wy-coreutils-9.3/bin/coreutils:
/nix/store/7flhczqiibyhadll32xx83awsg1bcmbi-gmp-with-cxx-6.3.0/lib/libgmp.10.dylib (compatibility version 16.0.0, current version 16.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.60.2) Like before, $ nix-shell --argstr localSystem x86_64-darwin -I nixpkgs=./. --pure -p which pkgsStatic.coreutils --run 'which coreutils'
/nix/store/fbzhv146kg8b8mp90q8ncrqj7l2fj4wy-coreutils-9.3/bin/coreutils
$ nix-shell --argstr localSystem x86_64-darwin -I nixpkgs=./. --pure -p which coreutils --run 'which coreutils'
/nix/store/fbzhv146kg8b8mp90q8ncrqj7l2fj4wy-coreutils-9.3/bin/coreutils |
This should be fixed by #346043. |
Closed by #346043 |
Describe the bug
Trying to use the
pkgsStatic.coreutils
package on x86_64 Darwin fails when using nixos-unstable:(it works on aarch64-darwin)
Steps To Reproduce
Steps to reproduce the behavior:
nix-shell --argstr localSystem x86_64-darwin -I nixpkgs=./. --show-trace -p pkgsStatic.coreutils
Expected behavior
We should be able to use
pkgsStatic.coreutils
on x86_64-darwin.Additional context
I git bisected the problem to commit 42b5817 which actually introduced support for non-linux host platforms in the first place. This would probably mean that before this change package
x
andpkgsStatic.x
would be exactly the same on Darwin?We used the
pkgsStatic.coreutils
package from nixos-22.11 before, but ran into this problem after upgrading to nixos-unstable, see tweag/rules_nixpkgs#424Notify maintainers
cc @uri-canva
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Priorities
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: