!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

79 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
17 Mar 2023
@etu:failar.nuetu
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.nuetu
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
@drupol:matrix.orgPolI passed those messages to @ryantm15:39:44
19 Mar 2023
@lstrojny:matrix.orgLars Strojny Jan Tojnar tried to clarify the PHP_INI_SCAN_DIR topic in https://github.com/NixOS/nixpkgs/pull/221845 21:56:30
@drupol:matrix.orgPol Hey Lars Strojny! Cool to see you around ! 21:59:50
@lstrojny:matrix.orgLars Strojny
In reply to @drupol:matrix.org
Hey Lars Strojny! Cool to see you around !
Thanks!
22:06:50
@drupol:matrix.orgPolAre there a lot of people using Nix in the core team ?22:08:16
@lstrojny:matrix.orgLars 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
@lstrojny:matrix.orgLars StrojnyThen all spiraled out of control and now I am also using it on mac OS22:11:38
@drupol:matrix.orgPolYeah ocramius toot about nix from time to time indeed!22:11:45
@drupol:matrix.orgPolNice :)22:11:52
@drupol:matrix.orgPolI made a project you might find interesting 22:12:06
@drupol:matrix.orgPolI, and a lot of colleagues are using in everyday22:12:54
@drupol:matrix.orgPolhttps://github.com/loophp/nix-shell22:12:56
@drupol:matrix.orgPolBasically this project reads the composer file and create a dev environment with the proper extensions and tools22:13:44
@lstrojny:matrix.orgLars StrojnyI am using it (without composer though): https://github.com/lstrojny/uffff/blob/develop/flake.nix22:13:59
@drupol:matrix.orgPolFor PHP dev only22:13:59
@lstrojny:matrix.orgLars StrojnySo, thanks for that :)22:14:17
@drupol:matrix.orgPolHaha ! What a surprise :)22:14:34
@drupol:matrix.orgPolNice22:14:40
@drupol:matrix.orgPolI should add this function in nix core22:14:54
@lstrojny:matrix.orgLars StrojnyIndeed!22:14:59
@drupol:matrix.orgPolIt's cool to build PHP just with some attributes and text22:15:28
@lstrojny:matrix.orgLars StrojnyI 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 safe22:16:05
@drupol:matrix.orgPolBy the way, the first argument of makePhp is system, not pkgs22:16:39
@lstrojny:matrix.orgLars StrojnySee how great my nix skills are :) 22:17:07
@drupol:matrix.orgPol
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
@drupol:matrix.orgPol
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
@drupol:matrix.orgPolHeading to bed now22:19:32
@drupol:matrix.orgPolSee you tomorrow 22:19:42

Show newer messages


Back to Room ListRoom Version: 6