!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

81 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
8 Aug 2022
@drupol:matrix.orgPolAh16:14:08
@jtojnar:matrix.orgJan Tojnarit probably does something with either seccomp or user namespaces16:14:15
@drupol:matrix.orgPolWhich details do I need?16:14:18
@jtojnar:matrix.orgJan Tojnarmost likely, they will want to know what the sandboxing does so that they can reproduce it16:15:06
@drupol:matrix.orgPolJust commented: https://github.com/php/php-src/commit/520bb2ec6ca01698f863cb16a5e9a28764df01ae#commitcomment-8064184716:15:57
@jtojnar:matrix.orgJan Tojnar Pol: well, the issue is still on PHP side 16:21:13
@jtojnar:matrix.orgJan Tojnarthey should skip the test in environment that does not support the requirements16:21:31
@drupol:matrix.orgPolCould you maybe comment it there? I guess you are the most appropriate person for explaining it... no?16:21:51
@jtojnar:matrix.orgJan Tojnarunfortunately, not anytime soon16:25:07
@drupol:matrix.orgPolArgh, ok will do it16:25:45
@drupol:matrix.orgPolDone.17:11:06
9 Aug 2022
@drupol:matrix.orgPolhttps://github.com/php/php-src/pull/9284#issuecomment-120941978814:01:36
@drupol:matrix.orgPolBuild is back to green ! https://github.com/fossar/nix-phps/pull/13415:34:38
@drupol:matrix.orgPol ramsey: Issue with PHP8.2-beta2 has been fixed! Problem solved. 15:50:26
15 Aug 2022
@drupol:matrix.orgPol etu: Good for you? https://github.com/NixOS/nixpkgs/pull/184634 ^^ 16:00:29
@drupol:matrix.orgPol * etu: Good for you? https://github.com/NixOS/nixpkgs/pull/184634 16:00:32
16 Aug 2022
@drupol:matrix.orgPolComposer 2.4.0 ! https://github.com/NixOS/nixpkgs/pull/18701819:23:52
17 Aug 2022
@pederbs:pvv.ntnu.nopbsds joined the room.00:04:34
@drupol:matrix.orgPolA quick review/merge @ https://github.com/NixOS/nixpkgs/pull/187018 M10:25:47
@drupol:matrix.orgPol * A quick review/merge @ https://github.com/NixOS/nixpkgs/pull/187018 ?10:25:50
@greaka:greaka.degreaka ⚡️ joined the room.20:21:45
18 Aug 2022
@drupol:matrix.orgPolThanks !05:27:03
@Zevran:matrix.orgGaël Reyrol Hi, I am trying to install the yaml extension from a flake setup with home-manager, but I can't find a way to do it. I tried environment.systemPackages = with pkgs; [ php81Extensions.yaml (php81.withExtensions ({ enabled, all }: with all; [ yaml ])) ]; but when I run php -m, it does not show the extension. I started Nix/NixOS a few weeks ago so please excuse me for my newbieness. 09:46:52
@jtojnar:matrix.orgJan Tojnar
In reply to @Zevran:matrix.org
Hi, I am trying to install the yaml extension from a flake setup with home-manager, but I can't find a way to do it. I tried environment.systemPackages = with pkgs; [ php81Extensions.yaml (php81.withExtensions ({ enabled, all }: with all; [ yaml ])) ]; but when I run php -m, it does not show the extension. I started Nix/NixOS a few weeks ago so please excuse me for my newbieness.
drop php81Extensions.yaml from environment.systemPackages, it is useless there – PHP extensions only matter in php.withPackages or php.buildEnv
11:05:42
@jtojnar:matrix.orgJan Tojnar and try using all.yaml inside withExtensionswith statement can be confusing , which scope does the value come from, see https://nix.dev/anti-patterns/language#with-attrset-expression 11:07:11
@Zevran:matrix.orgGaël Reyrol
In reply to @jtojnar:matrix.org
and try using all.yaml inside withExtensionswith statement can be confusing , which scope does the value come from, see https://nix.dev/anti-patterns/language#with-attrset-expression
Thanks for your reply, you said extensions only matter in php.withPackages or php.buildEnv so should I use php.withExtensions ?
12:29:56
@jtojnar:matrix.orgJan Tojnar Gaël Reyrol: if you want to have PHP with the extensions enabled then yes 12:39:19
@drupol:matrix.orgPol Gaël Reyrol: I made a package which reads the composer.json file and infer the extensions to load. 18:09:05
@drupol:matrix.orgPolMaybe you'll find it useful. Find it here: https://github.com/loophp/nix-shell/18:10:01
@drupol:matrix.orgPolA team of ~10 people is using it everyday without any issue since a bit less than a year now.18:10:26

Show newer messages


Back to Room ListRoom Version: 6