-
-
Notifications
You must be signed in to change notification settings - Fork 15.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
php < 7.4: Fix validation of PKG_CONFIG var #90249
Conversation
They were assuming it is an absolute path, but it (conventionally) can be something to look up on the PATH too. Fixes NixOS#90202
@GrahamcOfBorg build php72 php73 php74 |
Need add this path to In the build log lot of warning mesages:
It is possible to replace this patch? -
|
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.
I propose we prioritize fixing the breakage asap and merge this now. The warnings could be taken care of in a follow up PR.
preConfigure = '' | ||
# Don't record the configure flags since this causes unnecessary | ||
# runtime dependencies | ||
preConfigure = |
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.
It would probably have been better to skip the whitespace changes here, since they will cause rebuilds for pho >= 7.4. ofBorg says its in the <=500 range though, which should be okay.
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.
True, as this is a rush fix.
I should put in some docs somewhere that comments outside of string literals is preferred for sake of rebuilds, so as I am not tempted to do this on a case-by-case basis so much :).
Merging, since only already broken derivations are affected (plus whitespace changes). |
Motivation for this change
They were assuming it is an absolute path, but it (conventionally) can
be something to look up on the PATH too.
Fixes #90202
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)