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: get rid of composableDerivation #43900
Conversation
@FRidh I've tried to build this and something seems to be very wrong compared to master. It doesn't build the package. Example:
It barely downloaded anything except from the sources. And then I tried to list the |
Ah, I forgot to add |
This needs more fixing it seems. |
Yeah, it seems to complain about mysql lib something:
Which isn't a problem on master |
Now all versions are building on NixOS. @GrahamcOfBorg build php56 php70 php71 php72 |
Failure on aarch64-linux (full log) Attempted: php Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: php56, php70, php71, php72 Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: php Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: php Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: php56, php70, php71, php72 Partial log (click to expand)
|
@FRidh I've just completed an So I'd say you're good to go with this 👍 EDIT: Also, don't ask me why hhvm doesn't build. I just know that it doesn't from testing PHP PR's before and noticing that it haven't happened due to PHP upgrades. EDIT2: Wrote an issue about it here: #43911 |
Success on x86_64-darwin (full log) Attempted: php56, php70, php71, php72 Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: php Partial log (click to expand)
|
I don't currently use this. So I can't test. |
Thanks. php56 with nixpkgs.overlays worked. |
Some bugs may have creeped in during the conversion. One flag I had trouble with and so removed was: "--enable-embedded-mysqli"
Success on x86_64-linux (full log) Attempted: php Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: php Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: php Partial log (click to expand)
|
Motivation for this change
I'm not using php so please test. Will merge within a week.
Note that, after #43886, this is the last derivation using
composableDerivation
. Therefore, when both have been merged we can removecomposableDerivation
and supporting code inlib/deprecated.nix
.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)