| 29 Jun 2023 |
@etu:failar.nu | Pol: I don't think we expose that list in nix | 12:27:55 |
@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 |
Gaël Reyrol | Maybe you can check which pecl deps are installed as dependencies of php ? | 12:44:40 |
Pol | Well see | 12:52:00 |
@etu:failar.nu | What do you need it for? | 19:29:53 |
@etu:failar.nu | Because if you need exact data on this, just build your own php with your own list ;) | 19:30:16 |
Pol | I rewrote loophp/nix-shell | 20:24:05 |
Pol | See the PR I'm working on right now: https://github.com/loophp/nix-shell/pull/157 | 20:24:26 |
Pol | I finally found a way to get the enabled extensions | 20:24:48 |
Pol | It was actually easy | 20:24:54 |
Pol | I'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/9846043562 | 20:42:42 |
| 30 Jun 2023 |
@etu:failar.nu | Something I've been thinking of doing is to see if we can implement a test case for each PHP extension in nixpkgs | 07:21:20 |
@etu:failar.nu | And add a passthrou test case for each extension | 07:21:30 |
@etu:failar.nu | The 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 loading | 07:22:09 |
Pol | I'm busy fixing extensions right now | 07:34:21 |
Pol | This morning I fixed PECL yaml extension at : https://github.com/NixOS/nixpkgs/pull/240662 | 07:34:41 |
Pol | Now busy with couchbase at: https://github.com/NixOS/nixpkgs/pull/240673 | 07:34:53 |
Pol | But I'm somehow blocked with it. | 07:35:02 |
Pol | php-couchbase> CMake Error: The source directory "/build/couchbase-4.1.4" does not appear to contain CMakeLists.txt. | 07:35:09 |
Pol | I've never understood that attribute yet. | 07:36:55 |
Pol | This is what I do when I build php with all extensions enabled. | 07:37:19 |
tgerbet | FYI, 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 | Oh but it's already done :p | 13:25:00 |
Jan 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 |
Jan Tojnar | looking at the tarball, you probably want cd src/ in preConfigure | 15:11:05 |
Pol | I'm away from computer , I'll check this out tonight | 16:04:07 |
Pol | I 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/240673 | 19:24:36 |
Jan Tojnar | Pol: It is a typical CMake project now so packaging it will be a pain | 19:31:28 |
Jan Tojnar | well, two CMake projects, actually | 19:31:39 |
Jan 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 |