| 17 Mar 2023 |
etu | 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 | 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 |
Pol | It's cool to build PHP just with some attributes and text | 22:15:28 |
Lars Strojny | I was hesitating to use composer support as it implies impure flakes. I am wondering though if one could make the flakes pure by relying on composer.lock content-hash. Not sure if thatâs at all feasible but it should be safe | 22:16:05 |
Pol | By the way, the first argument of makePhp is system, not pkgs | 22:16:39 |
Lars Strojny | See how great my nix skills are :) | 22:17:07 |
Pol | In reply to @lstrojny:matrix.org I was hesitating to use composer support as it implies impure flakes. I am wondering though if one could make the flakes pure by relying on composer.lock content-hash. Not sure if thatâs at all feasible but it should be safe That is possible but it's more complicated. | 22:17:13 |
Pol | In reply to @drupol:matrix.org That is possible but it's more complicated. There is this : https://github.com/drupol/composer-plugin-nixify | 22:18:53 |
Pol | Heading to bed now | 22:19:32 |
Pol | See you tomorrow | 22:19:42 |