!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

74 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
26 Jun 2023
@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
@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

Show newer messages


Back to Room ListRoom Version: 6