| 19 Apr 2022 |
Pol | Ok! | 07:44:32 |
Pol | And which platform ? | 07:44:36 |
Pol | darwin M1 ? | 07:44:41 |
Christian Albrecht | Ahh, to nervous..., didn't read. Linux tutnix 5.15.34 #1-NixOS SMP Wed Apr 13 18:59:28 UTC 2022 x86_64 GNU/Linux | 07:47:33 |
Pol | Weird. | 07:48:51 |
Pol | Going to test. | 07:48:55 |
Pol | Funny thing, to test if this is failing, I just have to create a composer.json file in a test directory and add "ext-fileinfo": "*" to the require-dev section ;) | 07:49:34 |
Pol | It works here | 07:51:55 |
Pol |  Download image.png | 07:51:57 |
Pol | To test on your side, do: | 07:52:14 |
Pol |
- Create a
composer.json file in a random dir
- The content of it should be:
{
"name": "pol/foo",
"require": {
"ext-fileinfo": "*"
}
}
- Run:
nix develop github:loophp/nix-shell#php80 --impure in the same directory
| 07:53:23 |
Christian Albrecht | Ok | 07:53:44 |
Christian Albrecht | This does give me a shell indeed. Tried again the previous failing method, but this fails because of other issues right now. Will recheck when i have time to do. | 08:10:13 |
Pol | Allrighty | 08:10:52 |
Pol | Let us know how it goes | 08:10:58 |
Christian Albrecht | 👍️ | 08:12:14 |
Christian Albrecht | Hm, ok. Even nix-shell -I nixpkgs=/ws/nixpkgs -p 'php80.withExtensions ({ all, ... }: with all; [ all.fileinfo ])' works now. Sorry for the noise 🤷 | 08:27:00 |
| 20 Apr 2022 |
| @ahsmha:matrix.org joined the room. | 19:00:21 |
| 21 Apr 2022 |
| @wybpip:matrix.org joined the room. | 00:50:20 |
| @wybpip:matrix.org left the room. | 00:50:21 |
Pol | It would be nice if someone could take over here: https://github.com/NixOS/nixpkgs/pull/157287 | 17:08:27 |
Pol | I don't know how to fix this... but I stumble on this issue every single day. | 17:08:43 |
| 23 Apr 2022 |
Pol | We need a review here: https://github.com/NixOS/nixpkgs/pull/169728 | 17:32:38 |
| 24 Apr 2022 |
Pol | How to apply a patch to a particular arch only? | 15:38:38 |
Pol | Got it optionalString stdenv.hostPlatform.isDarwin | 15:44:10 |
Andreas Schrägle | We normally try to avoid that to combat bit-rot. What's the patch? | 15:44:25 |
Pol | The issue is that I cannot compile PHP 7.2 on MacOS: https://github.com/loophp/nix-shell/runs/6147454385?check_suite_focus=true | 15:45:05 |
Pol | There is an issue with the intl extension | 15:45:14 |
Pol | And I think I found a patch here: https://bugs.php.net/bug.php?id=76826 | 15:45:27 |
Pol | But I cannot test locally, I need to test it on Github action. | 15:45:42 |