Nix PHP | 77 Members | |
| A room for PHP developers running on Nix | 22 Servers |
| Sender | Message | Time |
|---|---|---|
| 7 Feb 2024 | ||
In reply to @drupol:matrix.orgShould we do this one at all? Upstream hasn't seen activity for 6 years. Seems like a security risk | 11:55:46 | |
| Then we should close the issue with a valid reason. | 11:58:24 | |
| Yeah I'm genuinly wondering because the application itself doesn't do much and the C code is tiny. Might just be that it is stable and working | 12:00:09 | |
| I don't see any security flags in the issue or PR, maybe we should do it still | 12:54:55 | |
| I think it would be interesting to find out how to get the ryantm bot to update php packages automatically. I haven't done much digging. I'll do that tomorrow, but here's the latest log for phpunit. https://r.ryantm.com/log/phpunit/2024-02-05.log | 18:38:20 | |
| I think Gaël Reyrol did some work in nixpkgs-update, and I think r-ryantm is using it. | 19:55:23 | |
| 8 Feb 2024 | ||
In reply to @patka_123:matrix.orgI think a label "6.topic: php" would still be nice :) I guess you need to be commiter to create a label? | 08:00:18 | |
| Could be done indeed! | 08:07:24 | |
| 08:37:11 | ||
| 08:37:31 | ||
| 08:45:47 | ||
| 08:45:52 | ||
| Elis 🌱, Jan Tojnar how should we deal with this kind of issue? https://discourse.nixos.org/t/php-composer-does-not-find-installed-php-extensions/31164/4
| 13:35:51 | |
| * Elis 🌱, Jan Tojnar how should we deal with this kind of issue? https://discourse.nixos.org/t/php-composer-does-not-find-installed-php-extensions/31164/4
| 13:36:05 | |
| * Elis 🌱, Jan Tojnar how should we deal with this kind of issue? https://discourse.nixos.org/t/php-composer-does-not-find-installed-php-extensions/31164/4
| 13:36:49 | |
| * Elis 🌱, Jan Tojnar how should we deal with this kind of issue? https://discourse.nixos.org/t/php-composer-does-not-find-installed-php-extensions/31164/4 I see 3 possible fix for this:
What do you think fits best in this case? | 13:38:32 | |
| * Elis 🌱, Jan Tojnar how should we deal with this kind of issue? https://discourse.nixos.org/t/php-composer-does-not-find-installed-php-extensions/31164/4 I see 3 possible fix for this:
What do you think fits best in this case? | 13:44:03 | |
| As a best practice I always have a composer local to the project that get's this project's php and it worked well for me so far. | 13:55:53 | |
In reply to @philipp:xndr.deSo your POV is to have a local flake.nix with a customized composer, just like the solution I proposed in the thread? | 14:15:25 | |
| Yes, pretty much like you said it there. | 14:19:53 | |
| Good thanks for your input. | 14:20:15 | |
| But then people have to learn that for some projects they have to create their own composer with the extension enabled. From a user perspective the second option seems best? | 14:54:51 | |
| * I also do the same thing. But I'm not sure it's the "best" way as a default. Because people then have to learn that for some projects they have to create their own composer with the extension enabled. From a user perspective the second option seems best? | 14:56:43 | |
All you'd really need to tell people is to use yourPHP.packages.composer, right? I don't think that's unreasonable when you are start messing with magento. | 15:04:56 | |
| I might even go so far and call that a good example to understand how to start thinking in nix for beginners. | 15:06:39 | |
| I'm in between 2 waters. At the same time I think Composer should be working out of the box and should not fail and at the same time, I like the idea to let user customize their things. | 15:07:41 | |
| I think both are fine. But I still gravitate towards creating a working composer out of the box. Because I have a feeling (that might be wrong) that in other places in nixos it seems like a "policy" to enable things by default to get them working, even if it ends up "bloating" the installation for some people. | 15:20:12 | |
| Quite tricky :) | 15:27:32 | |
| We should check how debian or arch are doing | 15:27:45 | |
Debian uses whatever is currently php in the current env. | 15:40:38 | |