!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

73 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
19 Mar 2023
@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
@lstrojny:matrix.orgLars StrojnySee you! 22:19:53
@lstrojny:matrix.orgLars StrojnyBtw, changing pkgs to system gives me that22:20:01
@lstrojny:matrix.orgLars Strojny

       at /nix/store/s8427y5ln38zyyya2vgh3hfk0cq414mi-source/src/phps.nix:113:12:

          112|       if builtins.isString php
          113|       then pkgs."${php}"
             |            ^
          114|       else php;```
22:20:05
@drupol:matrix.orgPol`nix flake update` :)22:20:25
@lstrojny:matrix.orgLars Strojny:-D22:20:40
20 Mar 2023
@drupol:matrix.orgPol Lars Strojny: I just submitted a PR to refactor your flake.nix: https://github.com/lstrojny/uffff/pull/11 07:36:40
@drupol:matrix.orgPolIt's purely informative and it's totally fine to reject it :)07:36:57
@drupol:matrix.orgPolOk since ryantm-bot is not working for PHP and Composer, I created the PR: https://github.com/NixOS/nixpkgs/pull/22225321:36:35
@drupol:matrix.orgPolPlease have a look on it :)21:36:51
@drupol:matrix.orgPolHave a good night21:36:54
21 Mar 2023
@drupol:matrix.orgPol Job done etu https://github.com/NixOS/nixpkgs/pull/222313 08:04:57
@drupol:matrix.orgPolA PHP related PR: https://github.com/NixOS/nixpkgs/pull/22198512:42:41
@lstrojny:matrix.orgLars Strojny
In reply to @drupol:matrix.org
Lars Strojny: I just submitted a PR to refactor your flake.nix: https://github.com/lstrojny/uffff/pull/11
Btw: needed to revise it slightly again so that the fork is used as an input: https://github.com/lstrojny/uffff/commit/05046778c1285f9b4cd9793f76be9824e196fe77
19:36:38
@drupol:matrix.orgPolsure sure :)19:37:08
@drupol:matrix.orgPol Don't forget to run nix fmt at the end :) 19:37:16
@lstrojny:matrix.orgLars Strojnymy vim setup does that for me19:40:36
@lstrojny:matrix.orgLars StrojnyJust that I have a wider line width configured19:40:44
@drupol:matrix.orgPolOk you already have a formatter then19:43:35
@drupol:matrix.orgPol Oooh you changed to nixfmt 19:44:08
@drupol:matrix.orgPolI missed that19:44:10
@drupol:matrix.orgPolAll good then :)19:44:13
23 Mar 2023
@drupol:matrix.orgPolAre you ok to merge this? https://github.com/NixOS/nixpkgs/pull/22184507:53:20

Show newer messages


Back to Room ListRoom Version: 6