!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

79 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
26 Jun 2023
@drupol:matrix.orgPol=> https://github.com/NixOS/nixpkgs/pull/23915111:53:44
@drupol:matrix.orgPol tgerbet: Do you think the patch is applied at the right place? 12:23:12
@drupol:matrix.orgPol I believe I should move it to the session extension. Trying. 14:48:33
@drupol:matrix.orgPolTests are passing now :)15:04:52
@drupol:matrix.orgPolPHP 8.3 is now ready, tests are passing ! https://github.com/NixOS/nixpkgs/pull/23915115:11:22
@drupol:matrix.orgPolFor some reason, they are still broken. dammit.15:42:36
@drupol:matrix.orgPolThey passed at some point, now they don't anymore.15:42:49
@drupol:matrix.orgPolIt's working again... boooh17:05:02
@drupol:matrix.orgPolI'll merge this PR once everything is ok: https://github.com/NixOS/nixpkgs/pull/23915117:05:23
@drupol:matrix.orgPolphp 8.3.0 is now in Nix ! 19:04:41
@drupol:matrix.orgPolThanks to all the people who helped me in there :)19:04:55
28 Jun 2023
@Zevran:matrix.orgGaël ReyrolIf anyone is interested I published a PR to add a prometheus exporter that monitors PHP-FPM processes : https://github.com/NixOS/nixpkgs/pull/24039419:17:09
29 Jun 2023
@drupol:matrix.orgPolHey, got a question with Nix and PHP.06:35:38
@drupol:matrix.orgPolHow can I get the list of extension enabled in a PHP derivation ?06:35:49
@drupol:matrix.orgPol so, if I have php81, how to get the list (string) of all the extension enabled in that derivation ? 06:36:08
@drupol:matrix.orgPol When I do php81.extensions, I get a list of ALL the extension available, not the one that are enabled only. 06:36:49
@drupol:matrix.orgPolI just want those that are enabled only.06:36:58
@drupol:matrix.orgPolOpened the issue at https://github.com/fossar/nix-phps/issues/24506:54:42
@Zevran:matrix.orgGaël Reyrol From what I understand in the pkgs/development/interpreters/php/generic.nix, php81.extensions does provide the enabled extensions. 07:00:03
@drupol:matrix.orgPolyes, indeed... 07:08:12
@drupol:matrix.orgPolI think the issue is in fossar/nix-phps07:08:18
@drupol:matrix.orgPolhttps://github.com/fossar/nix-phps/pull/24607:14:33
@drupol:matrix.orgPolCreated the fix :)07:14:35
@drupol:matrix.orgPol 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
@drupol:matrix.orgPolI haven't found a way to do it yet11:53:48
@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

Show newer messages


Back to Room ListRoom Version: 6