!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

77 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
29 Jun 2023
@etu:failar.nu@etu:failar.nu Pol: I don't think we expose that list in nix 12:27:55
@etu:failar.nu@etu:failar.nu if you want an approximate list in shell you can run php -m but that's not... the same 🙂 12:28:17
@Zevran:matrix.orgGaël ReyrolMaybe you can check which pecl deps are installed as dependencies of php ?12:44:40
@drupol:matrix.orgPolWell see12:52:00
@etu:failar.nu@etu:failar.nuWhat do you need it for?19:29:53
@etu:failar.nu@etu:failar.nuBecause if you need exact data on this, just build your own php with your own list ;)19:30:16
@drupol:matrix.orgPol I rewrote loophp/nix-shell 20:24:05
@drupol:matrix.orgPolSee the PR I'm working on right now: https://github.com/loophp/nix-shell/pull/15720:24:26
@drupol:matrix.orgPolI finally found a way to get the enabled extensions20:24:48
@drupol:matrix.orgPolIt was actually easy20:24:54
@drupol:matrix.orgPolI've updated the CI in this PR and I can see all the broken extensions now, see it here: https://github.com/loophp/nix-shell/actions/runs/5416379047/jobs/984604356220:42:42
30 Jun 2023
@etu:failar.nu@etu:failar.nuSomething I've been thinking of doing is to see if we can implement a test case for each PHP extension in nixpkgs07:21:20
@etu:failar.nu@etu:failar.nuAnd add a passthrou test case for each extension07:21:30
@etu:failar.nu@etu:failar.nuThe test wouldn't test the features of the extension, but it would be nice to see that it loaded and didn't throw any errors or something while loading07:22:09
@drupol:matrix.orgPolI'm busy fixing extensions right now07:34:21
@drupol:matrix.orgPolThis morning I fixed PECL yaml extension at : https://github.com/NixOS/nixpkgs/pull/24066207:34:41
@drupol:matrix.orgPolNow busy with couchbase at: https://github.com/NixOS/nixpkgs/pull/24067307:34:53
@drupol:matrix.orgPolBut I'm somehow blocked with it.07:35:02
@drupol:matrix.orgPol php-couchbase> CMake Error: The source directory "/build/couchbase-4.1.4" does not appear to contain CMakeLists.txt. 07:35:09
@drupol:matrix.orgPolI've never understood that attribute yet. 07:36:55
@drupol:matrix.orgPolThis is what I do when I build php with all extensions enabled.07:37:19
@tgerbet:matrix.orgtgerbetFYI, I will start the work to move `php` to `php82` this week-end. I'm going to open an issue to list the impacted packages by the move to check if all of them have announced a compat with PHP 8.2 or not.18:38:21
1 Jul 2023
@tgerbet:matrix.orgtgerbetOh but it's already done :p 13:25:00
@jtojnar:matrix.orgJan Tojnar
In reply to @drupol:matrix.org
php-couchbase> CMake Error: The source directory "/build/couchbase-4.1.4" does not appear to contain CMakeLists.txt.
Is that even a CMake project?
15:08:00
@jtojnar:matrix.orgJan Tojnar looking at the tarball, you probably want cd src/ in preConfigure 15:11:05
@drupol:matrix.orgPolI'm away from computer , I'll check this out tonight 16:04:07
@drupol:matrix.orgPolI implemented your change. It seems it goes further... but... it still breaks, logs has been updated in the OP: https://github.com/NixOS/nixpkgs/pull/24067319:24:36
@jtojnar:matrix.orgJan Tojnar Pol: It is a typical CMake project now so packaging it will be a pain 19:31:28
@jtojnar:matrix.orgJan Tojnarwell, two CMake projects, actually19:31:39
@jtojnar:matrix.orgJan Tojnar you will want to disable the vendored dependencies by adding stuff like -DCOUCHBASE_CXX_CLIENT_POST_LINKED_OPENSSL=true to cmakeFlags and removing src/deps/couchbase-cxx-client/third_party/ to prevent accidentally building them 19:34:23

Show newer messages


Back to Room ListRoom Version: 6