Nix PHP | 81 Members | |
| A room for PHP developers running on Nix | 23 Servers |
| Sender | Message | Time |
|---|---|---|
| 28 Jan 2023 | ||
| I implemented it using the action calls to not have to rely on their cloud SaaS in my home infra. Different tradeoffs between the 2 I guess :) | 11:18:15 | |
| Yes indeed, I don't have a mqtt server so, the second one might be a better option for me | 11:19:26 | |
| No need for a MQTT broker in both cases I think. In my situation you have to add an action call in the sensor configuration. When the sensor wakes up it sends a POST request against the URL. The service listens to that and exposes the ingested data in the format Prometheus expects | 11:25:44 | |
| Oh I might try then. | 11:35:57 | |
| 30 Jan 2023 | ||
| tgerbet: I submitted a PR for the second project... feel free to give a review: https://github.com/NixOS/nixpkgs/pull/213534 | 12:54:34 | |
| tgerbet: How to add the test in there ^^ ? | 19:15:39 | |
| tgerbet: How do you run the test of this new module? | 21:22:00 | |
| 5 Feb 2023 | ||
| Can we have a look at : https://github.com/NixOS/nixpkgs/pull/214034 | 19:20:25 | |
| 6 Feb 2023 | ||
| Thanks etu ^^ The backport is ready as well: https://github.com/NixOS/nixpkgs/pull/214885 | 10:06:45 | |
| ma27: These failures are unpredictable and related to the tests. I can't personally do anything about them. | 10:07:11 | |
| Can't we skip them (on Darwin at least)? | 10:07:31 | |
| 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 | |