Revert "stdenv: set NIX_DONT_SET_RPATH_FOR_TARGET on Darwin"#355667
Revert "stdenv: set NIX_DONT_SET_RPATH_FOR_TARGET on Darwin"#355667emilazy merged 2 commits intoNixOS:stagingfrom
Conversation
This reverts commit 10c87ee.
|
Before the revert: $ nix-instantiate . -A pkgsCross.gnu64.pkgsBuildBuild.jq
/nix/store/idydjykv86f3wzy87jrx0pf8rzf08hmq-jq-1.7.1.drv!bin
$ nix-instantiate . -A pkgsCross.gnu64.pkgsBuildHost.jq
/nix/store/ay9bsvb6vslgi0xqmvmyfwczmnyzkqv3-jq-1.7.1.drv!binAfter the revert: $ nix-instantiate . -A pkgsCross.gnu64.pkgsBuildBuild.jq
/nix/store/p3b6czc6y9ba6la6kf8j9bx6rpm3gcw4-jq-1.7.1.drv!bin
$ nix-instantiate . -A pkgsCross.gnu64.pkgsBuildHost.jq
/nix/store/p3b6czc6y9ba6la6kf8j9bx6rpm3gcw4-jq-1.7.1.drv!bin |
|
Technically this is breaking because it changes the semantics of Darwin as a target platform, but not reverting on 24.11 would keep this major regression for cross-compilation on stable until 25.05. @RossComputerGuy Thoughts? |
emilazy
left a comment
There was a problem hiding this comment.
Looks good in principle but can we maybe update the comment here to be more useful about our current motivation to not uncomment it, or at least add some detail in the commit message?
|
Is it still possible to get this in time for 24.11? It's a pretty big regression for cross-compilation. My understanding is it just reverts to 24.05 rpath behavior. |
|
Not in time for the initial release (unless we delay it, which seems unlikely for cross), but given the release manger has approved it, it will go in the first |
|
Would still like to see the comment and/or commit message updated, but otherwise will merge within a day or two. |
|
I pushed an additional commit clarifying the nature of the mass rebuilds. |
22d37ac to
5d25993
Compare
5d25993 to
719c731
Compare
|
Successfully created backport PR for |
This reverts commit 10c87ee.
Fixes #355622.
@emilazy @sternenseemann
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.