| 29 Jun 2023 |
Gaël Reyrol | From what I understand in the pkgs/development/interpreters/php/generic.nix, php81.extensions does provide the enabled extensions. | 07:00:03 |
Pol | yes, indeed... | 07:08:12 |
Pol | I think the issue is in fossar/nix-phps | 07:08:18 |
Pol | https://github.com/fossar/nix-phps/pull/246 | 07:14:33 |
Pol | Created the fix :) | 07:14:35 |
Pol | Gaël Reyrol: Now, if I want to get that list of extensions: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/interpreters/php/8.1.nix#L10 | 11:28:47 |
Pol | I haven't found a way to do it yet | 11:53:48 |
@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 |