| 7 Feb 2023 |
tgerbet | Yep, a better way to handle this might exist I suppose but at least it works ¯_(ツ)_/¯
I moved the PR out of draft | 09:59:19 |
Pol | I just validated it | 10:00:13 |
Pol | tgerbet: Is there anything left in your PR ? | 18:59:50 |
tgerbet | I don't think so unless someone comes up with a nicer way to solve this (and I really don't like self merging :) ) | 19:08:02 |
Pol | I think it's perfectly fine, I don't see what could be changed or improved there. | 19:23:57 |
| 8 Feb 2023 |
tgerbet | Well it works but I'm still a bit conflicted about introducing something more you need to be aware specific to the PHP extension.
The `__darwinAllowLocalNetworking` is already not that easy to discover. | 18:52:54 |
tgerbet | Anyway it's merged 😉 | 18:53:13 |
tgerbet | For the blacklists.phpt test from what I can see it seems to be flaky.
Maybe we could ask for some help in the Darwin channel to see if we can pinpoint the root cause. Otherwise dropping the test on Darwin is likely good enough | 18:56:29 |
| 9 Feb 2023 |
Pol | I'm trying to convert a PHP developer from Germany to use Nix, and when he does nix shell nixpkgs#php82, Nix starts to compile PHP. | 14:44:27 |
Pol | It doesn't use the binary cache. | 14:44:36 |
Pol | He's using an Apple M1 (arm64) based computer. | 14:45:01 |
tgerbet | Well it's likely due to the issue we have with the tests | 15:05:34 |
Pol | Oh really? | 15:32:45 |
Pol | Damn that's a problem | 15:33:09 |
tgerbet | Yep, if cannot be built (due to test or otherwise) it cannot be cached | 16:11:47 |
Pol | Okay, we need to find out the issue there. It's a bit frustrating to not being able to do that locally ! | 16:14:55 |
Pol | tgerbet: Is there a way to trigger again the PHP builds to see if your patch has fixed the builds on those arch? (context: https://github.com/loophp/nix-shell/issues/128#issuecomment-1424459403) | 16:33:24 |
Pol | It's green ! https://github.com/NixOS/nixpkgs/pull/215539 | 21:15:33 |
Pol | Can we have someone to review/merge this please? | 21:15:42 |
| 12 Feb 2023 |
Pol | tgerbet: Do you think PHP for Darwin is available in nix cache now? How to check that ? | 19:12:55 |
| 13 Feb 2023 |
@etu:failar.nu | The fix for meta.mainProgram haven't landed in nixpkgs-unstable yet which I think is where nix run nixpkgs#php82 grabs it from | 07:11:42 |
Pol | mmmh | 07:29:29 |
Pol | it hasn't ?! | 07:29:33 |
@etu:failar.nu | It hasn't, I subscribed to that PR in the nixpkgs bot :) | 07:37:13 |
Pol | Ooh yeah I just noticed. Damn. | 07:39:07 |
Pol | It's slow these days :) | 07:39:07 |
@etu:failar.nu | Oh | 08:02:45 |
@etu:failar.nu | it just moved | 08:02:47 |
@etu:failar.nu | Pol: nix run nixpkgs#php82 -- -v worked for me just now 🙂 I'm guessing that darwin should be cached as well. | 08:04:33 |
Pol | Excellent | 08:13:52 |