| 8 Aug 2022 |
Pol | Ah | 16:14:08 |
Jan Tojnar | it probably does something with either seccomp or user namespaces | 16:14:15 |
Pol | Which details do I need? | 16:14:18 |
Jan Tojnar | most likely, they will want to know what the sandboxing does so that they can reproduce it | 16:15:06 |
Pol | Just commented: https://github.com/php/php-src/commit/520bb2ec6ca01698f863cb16a5e9a28764df01ae#commitcomment-80641847 | 16:15:57 |
Jan Tojnar | Pol: well, the issue is still on PHP side | 16:21:13 |
Jan Tojnar | they should skip the test in environment that does not support the requirements | 16:21:31 |
Pol | Could you maybe comment it there? I guess you are the most appropriate person for explaining it... no? | 16:21:51 |
Jan Tojnar | unfortunately, not anytime soon | 16:25:07 |
Pol | Argh, ok will do it | 16:25:45 |
Pol | Done. | 17:11:06 |
| 9 Aug 2022 |
Pol | https://github.com/php/php-src/pull/9284#issuecomment-1209419788 | 14:01:36 |
Pol | Build is back to green ! https://github.com/fossar/nix-phps/pull/134 | 15:34:38 |
Pol | ramsey: Issue with PHP8.2-beta2 has been fixed! Problem solved. | 15:50:26 |
| 15 Aug 2022 |
Pol | etu: Good for you? https://github.com/NixOS/nixpkgs/pull/184634 ^^ | 16:00:29 |
Pol | * etu: Good for you? https://github.com/NixOS/nixpkgs/pull/184634 | 16:00:32 |
| 16 Aug 2022 |
Pol | Composer 2.4.0 ! https://github.com/NixOS/nixpkgs/pull/187018 | 19:23:52 |
| 17 Aug 2022 |
| pbsds joined the room. | 00:04:34 |
Pol | A quick review/merge @ https://github.com/NixOS/nixpkgs/pull/187018 M | 10:25:47 |
Pol | * A quick review/merge @ https://github.com/NixOS/nixpkgs/pull/187018 ? | 10:25:50 |
| greaka ⚡️ joined the room. | 20:21:45 |
| 18 Aug 2022 |
Pol | Thanks ! | 05:27:03 |
Gaë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 |
Jan 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 |
Jan Tojnar | and try using all.yaml inside withExtensions – with statement can be confusing , which scope does the value come from, see https://nix.dev/anti-patterns/language#with-attrset-expression | 11:07:11 |
Gaël Reyrol | In reply to @jtojnar:matrix.org and try using all.yaml inside withExtensions – with 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 |
Jan Tojnar | Gaël Reyrol: if you want to have PHP with the extensions enabled then yes | 12:39:19 |
Pol | Gaël Reyrol: I made a package which reads the composer.json file and infer the extensions to load. | 18:09:05 |
Pol | Maybe you'll find it useful. Find it here: https://github.com/loophp/nix-shell/ | 18:10:01 |
Pol | A team of ~10 people is using it everyday without any issue since a bit less than a year now. | 18:10:26 |