-
-
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
php: add optional phpSrc
attribute
#254556
Conversation
@@ -278,6 +285,10 @@ let | |||
substituteInPlace configure --replace "-lstdc++" "-lc++" | |||
''; | |||
|
|||
preInstall = '' | |||
cp -f ${pearInstallPhar} ./pear/install-pear-nozlib.phar |
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.
How is this change relevant?
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.
This is mandatory when building PHP from source. I haven't found a better way to do this, do you have a better idea?
When PHP release maintainers are doing a distribution, they run the script makedist
that download that file using wget
.
Please also include motivation in the commit message, this is just an end point. |
It's done already, should I add something else ? |
I only see |
ea0735f
to
313558a
Compare
Done. |
313558a
to
32e8b80
Compare
This will allow building PHP from source, without using `.overrideAttrs()`. When the new attribute `phpSrc` is not set, the default behavior (with `fetchurl`) is used.
32e8b80
to
e0699b8
Compare
This will allow building PHP from source, without using `.overrideAttrs()`. When the new attribute `phpSrc` is not set, the default behavior (with `fetchurl`) is used.
This will allow building PHP from source, without using
.overrideAttrs()
, if the new attributephpSrc
is not set, the default behavior (fetchurl
) is used.Example:
This PR is a refresh of the following PR: #155012
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)