!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

76 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
15 Mar 2023
@drupol:matrix.orgPolIt still doesn't work for composer.07:54:11
@philipp:xndr.dephilippThe 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
@drupol:matrix.orgPolPHP, 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
@drupol:matrix.orgPolComposer used to be handled by ryantm-bot: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aclosed+php80Packages.composer+11:08:55
@drupol:matrix.orgPolPHP 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
@drupol:matrix.orgPolOn another subject, I just discovered this nice tool: https://lazamar.co.uk/nix-versions/?channel=nixpkgs-unstable&package=php11:15:41
@drupol:matrix.orgPol
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@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@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@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
@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

Show newer messages


Back to Room ListRoom Version: 6