-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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 packages & extensions ZHF #352945
PHP packages & extensions ZHF #352945
Conversation
ZHF NixOS#352882 Doesn't compile with PHP 8.3: https://hydra.nixos.org/build/276605925 We actually want to use the `couchbase-php-client`[1] repo. I briefly tried to package it, but given that I don't care a bit about this specific extension and it was far too annoying (vendored C++ libraries, .gitattributes removing CMake files from the GitHub tarball, a random CMake "package manager" is used) I decided to not bother. If nobody steps up, I'd suggest to throw it out when PHP 8.2 becomes EOL. [1] https://github.com/couchbase/couchbase-php-client/
https://hydra.nixos.org/build/276557313 We have to await version 6.0 to support PHP 8.4.
See https://hydra.nixos.org/build/275613910 The issue that symbols from `session.so` cannot be loaded doesn't happen when building a PHP with ext-soap enabled. To me it seems as if PHP just doesn't find it on runtime. My current hypothesis is that this is because ext-soap now depends on ext-session[1]. [1] php/php-src@c7797fc
I originally wanted to investigate what went wrong here, but I guess that the tag just got force-pushed. See https://hydra.nixos.org/build/276639542
@@ -663,7 +663,7 @@ in { | |||
# Some tests are causing issues in the Darwin sandbox with issues | |||
# such as | |||
# Unknown: php_network_getaddresses: getaddrinfo for localhost failed: nodename nor servname provided | |||
doCheck = !stdenv.hostPlatform.isDarwin; | |||
doCheck = !stdenv.hostPlatform.isDarwin && lib.versionOlder php.version "8.4"; |
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.
See the commit message for the rationale. If somebody has a better solution, I'm all for it.
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.
Looks good and makes sense. Builds fine, as expected.
Thanks!
hey @piotrkwiecinski ! Long time no see! All good? |
hi @drupol . All good. Live happened. I'm slowly getting back to contributions. |
Marks a bunch of things as broken and fixes
psysh
andphp84Extensions.soap
.Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-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.