Nix PHP | 83 Members | |
| A room for PHP developers running on Nix | 24 Servers |
| Sender | Message | Time |
|---|---|---|
| 6 Feb 2023 | ||
| I don't know, maybe we should ask etu or Jan Tojnar about that. | 10:08:42 | |
| I guess we could yes | 10:34:50 | |
| I checked the logs to compare with the previous bumps (https://github.com/NixOS/nixpkgs/pull/208928) and it looks like it is mostly the same tests that fail:
| 10:38:05 | |
tests/blacklist.phpt is new if we compare the 2 PRs | 10:38:40 | |
* tests/blacklist.phpt failure is new if we compare the 2 PRs | 10:38:50 | |
| Excluding https://github.com/php/php-src/blob/php-8.2.2/ext/opcache/tests/bug66338.phpt#L33 🤔 | 10:57:33 | |
|
https://github.com/NixOS/nixpkgs/blob/8faf826ce5d79eeb731d77927cd850e53d7773d7/pkgs/top-level/php-packages.nix#L415 | 21:46:24 | |
| *
https://github.com/NixOS/nixpkgs/blob/8faf826ce5d79eeb731d77927cd850e53d7773d7/pkgs/top-level/php-packages.nix#L415 | 21:47:14 | |
| Testing something here: https://github.com/NixOS/nixpkgs/pull/215004 | 21:48:57 | |
| 7 Feb 2023 | ||
In reply to @tgerbet:matrix.orgLooks like it works ! | 07:37:19 | |
| 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 | |
| I just validated it | 10:00:13 | |
| tgerbet: Is there anything left in your PR ? | 18:59:50 | |
| 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 | |
| I think it's perfectly fine, I don't see what could be changed or improved there. | 19:23:57 | |
| 8 Feb 2023 | ||
| 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 | |
| Anyway it's merged 😉 | 18:53:13 | |
| 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 | ||
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 | |
| It doesn't use the binary cache. | 14:44:36 | |
| He's using an Apple M1 (arm64) based computer. | 14:45:01 | |
| Well it's likely due to the issue we have with the tests | 15:05:34 | |
| Oh really? | 15:32:45 | |
| Damn that's a problem | 15:33:09 | |
| Yep, if cannot be built (due to test or otherwise) it cannot be cached | 16:11:47 | |
| 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 | |
| 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 | |
| It's green ! https://github.com/NixOS/nixpkgs/pull/215539 | 21:15:33 | |
| Can we have someone to review/merge this please? | 21:15:42 | |
| 12 Feb 2023 | ||
| tgerbet: Do you think PHP for Darwin is available in nix cache now? How to check that ? | 19:12:55 | |