-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
perl: substitute /bin/pwd with host pwd #58979
Conversation
This definitely looks like a good fix but I'm not 100% sure if it's safe to merge; maybe it had something to do with perl being a bootstrapping dependency? @edolstra introduced this quirk so perhaps he should take a look. |
btw: should I be putting PRs into staging? (not master) |
Master is fine for most things; staging is for changes that are going to require massive rebuilds, as it gives hydra a chance to catch up before things hit the nixos channels. Perl may actually be one of those things :-P btw, here is a comment I found about the
|
yeah, :( the motivation here is to not bring along build-time dependencies when cross compiling |
I'm not sure why ofborg isn't building, it's building on my machine... will investigate more |
@GrahamcOfBorg eval @GrahamcOfBorg build perl gitFull |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@illegalprime This change appears to break evaluation on at least darwin: https://github.com/NixOS/nixpkgs/pull/58979/checks?check_run_id=135801652
See #65761 for my PR that fixes the Darwin issue and another accidental reference. |
closing in favor of #65761 |
Motivation for this change
/bin/pwd
is replaced during the build with nix's version.it was incorrectly set to the build-time
pwd
, this would set it to the host'spwd
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)