| 15 Mar 2023 |
Pol | It still doesn't work for composer. | 07:54:11 |
philipp | The best way™ to handle a configuration file that needs to be writeable by the app is to patch all occurences of said file path to use an env var and then set that in the environment to a writeable path when packaging a php application, right? | 11:39:21 |
| 17 Mar 2023 |
Pol | PHP, composer are derivations that are not being automatically updated by ryantm bot. Do you know what we could do (beside asking @ryantm to check it out) ? | 11:08:00 |
Pol | Composer used to be handled by ryantm-bot: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aclosed+php80Packages.composer+ | 11:08:55 |
Pol | PHP was supposed to be picked up as well since https://github.com/NixOS/nixpkgs/pull/180827 but it's not the case. | 11:09:52 |
Pol | On another subject, I just discovered this nice tool: https://lazamar.co.uk/nix-versions/?channel=nixpkgs-unstable&package=php | 11:15:41 |
Pol | In reply to @philipp:xndr.de The best way™ to handle a configuration file that needs to be writeable by the app is to patch all occurences of said file path to use an env var and then set that in the environment to a writeable path when packaging a php application, right? Configuration that nees to be writeable ?! It's scary, no ? | 11:33:02 |
@etu:failar.nu | In reply to @drupol:matrix.org Composer used to be handled by ryantm-bot: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aclosed+php80Packages.composer+ I guess the bot has changed somehow and use the package name of composer php.packages.composer.name that is: https://r.ryantm.com/log/php-composer/2023-03-10.log | 14:16:52 |
@etu:failar.nu | In reply to @drupol:matrix.org Composer used to be handled by ryantm-bot: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aclosed+php80Packages.composer+ * I guess the bot has changed somehow and use the package name of composer php.packages.composer.name that is: https://r.ryantm.com/log/php-composer/2023-03-10.log
It seems like it used to find the php80Packages composer attribute before: https://r.ryantm.com/log/php80Packages.composer/
| 14:18:38 |
@etu:failar.nu | In reply to @drupol:matrix.org PHP was supposed to be picked up as well since https://github.com/NixOS/nixpkgs/pull/180827 but it's not the case. There's not even a directory for PHP in: https://r.ryantm.com/log/ 🙁 | 14:18:59 |
Pol | I passed those messages to @ryantm | 15:39:44 |
| 19 Mar 2023 |
Lars Strojny | Jan Tojnar tried to clarify the PHP_INI_SCAN_DIR topic in https://github.com/NixOS/nixpkgs/pull/221845 | 21:56:30 |
Pol | Hey Lars Strojny! Cool to see you around ! | 21:59:50 |
Lars Strojny | In reply to @drupol:matrix.org Hey Lars Strojny! Cool to see you around ! Thanks! | 22:06:50 |
Pol | Are there a lot of people using Nix in the core team ? | 22:08:16 |
Lars Strojny | In reply to @drupol:matrix.org Are there a lot of people using Nix in the core team ? I wouldn’t know but I see a bit of adoption amongst high-profile library developers, in fact Marco Pivetta recommended me to try nix OS when I asked what to play with for my linux dev box | 22:11:01 |
Lars Strojny | Then all spiraled out of control and now I am also using it on mac OS | 22:11:38 |
Pol | Yeah ocramius toot about nix from time to time indeed! | 22:11:45 |
Pol | Nice :) | 22:11:52 |
Pol | I made a project you might find interesting | 22:12:06 |
Pol | I, and a lot of colleagues are using in everyday | 22:12:54 |
Pol | https://github.com/loophp/nix-shell | 22:12:56 |
Pol | Basically this project reads the composer file and create a dev environment with the proper extensions and tools | 22:13:44 |
Lars Strojny | I am using it (without composer though): https://github.com/lstrojny/uffff/blob/develop/flake.nix | 22:13:59 |
Pol | For PHP dev only | 22:13:59 |
Lars Strojny | So, thanks for that :) | 22:14:17 |
Pol | Haha ! What a surprise :) | 22:14:34 |
Pol | Nice | 22:14:40 |
Pol | I should add this function in nix core | 22:14:54 |
Lars Strojny | Indeed! | 22:14:59 |