Nix PHP | 84 Members | |
| A room for PHP developers running on Nix | 25 Servers |
| Sender | Message | Time |
|---|---|---|
| 23 Jul 2023 | ||
| * I applied this patch:
And then I run: I can see: It would be nice to do the same on a Darwin machine. | 15:05:08 | |
| Maybe Stéphan ? ** | 15:11:21 | |
| * Maybe Stéphan ? ^^ | 15:11:37 | |
| I've describe the procedure here: https://github.com/fossar/nix-phps/pull/282 | 15:13:42 | |
| The issue has been found by the Darwin maintainer team | 16:44:44 | |
| Apparently, there are two different version of OpenSSL 3 and this patch should fix the issue: https://github.com/fossar/nix-phps/pull/282/commits/6712008dcaccb7f74a7b7c5bc376713d01f64e85 | 16:45:25 | |
| 25 Jul 2023 | ||
There has been an update of libxml2 in nixpkgs and it's breaking some tests in the PHP dom extension. Do you think this approach to fix the issue is the best one ?https://github.com/fossar/nix-phps/pull/286#issuecomment-1649651146 Comments are welcome. | 14:28:20 | |
| 19:03:43 | ||
| 27 Jul 2023 | ||
| 03:04:31 | ||
| 29 Jul 2023 | ||
| How is the PHP interpreter selected that is used inside of the pecl script? Certain commands like pecl package require an extension, in this case, zlib but building PHP with zlib extension enabled doesn’t change the interpreter. Any way to fix that? | 09:26:34 | |
This is my PHP: pkgs.php82.withExtensions ({ enabled, all }: enabled ++ [ all.zlib all.gd ])) | 09:26:57 | |
But still pecl package complains about missing zlib | 09:27:08 | |
I found a workaround by setting PHP_PEAR_PHP_BIN=which php`` but that’s not ideal | 09:28:49 | |
* I found a workaround by setting PHP_PEAR_PHP_BIN=\which php`` but that’s not ideal | 09:29:02 | |
| * I found a workaround by setting `PHP_PEAR_PHP_BIN=``which php``` but that’s not ideal | 09:29:18 | |
* I found a workaround by setting PHP_PEAR_PHP_BIN=which php but that’s not ideal | 09:29:39 | |
In reply to @lstrojny:matrix.orgWhat is doing that command, I don't know it yet. | 10:49:32 | |
| Pol: it’s for package maintainers to generate new release archives for PECL extensions | 12:36:27 | |
| Can I have a look at this command ? | 14:00:32 | |
In reply to @drupol:matrix.orgWhat do you mean? | 16:05:39 | |
| It's soirce | 16:20:07 | |
| * It's sources | 16:20:15 | |
| So I can reproduce the issue | 16:20:23 | |
| 1 Aug 2023 | ||
| 15:15:32 | ||
| 4 Aug 2023 | ||
| I've extracted the PHP builder I've been working on in a flake at https://github.com/loophp/nix-php-composer-builder/tree/main | 16:46:03 | |
Feel free to tell me if I'm doing things right, and eventually send PR to that repo, I'll backport everything in nixpkgs on a monthly basis. | 17:46:00 | |
| 5 Aug 2023 | ||
| See how easy it is to package Drupal in Nix with this new builder: https://github.com/loophp/nix-php-composer-builder/#packaging-drupal | 06:19:59 | |
| 7 Aug 2023 | ||
Having fun with Flake and welcomeText of Nix flake template ! | 13:14:26 | |
| https://main.elk.zone/mathstodon.xyz/@Pol/110848508428827116 | 13:14:36 | |
| 10 Aug 2023 | ||
| 14:54:44 | ||