Nix PHP | 75 Members | |
| A room for PHP developers running on Nix | 21 Servers |
| Sender | Message | Time |
|---|---|---|
| 9 Jul 2023 | ||
| There's a very interesting discussion in macos nixos channel ! You might be interested | 19:18:54 | |
| https://matrix.to/#/#macos:nixos.org | 19:19:01 | |
| I've been told to do: | 19:19:08 | |
| datadog_trace = pkgs.darwin.apple_sdk_11_0.callPackage ../development/php-packages/datadog_trace { }; | 19:19:19 | |
| oh, right sdk version, was the thing | 19:20:58 | |
| I'm testing plenty of different things on the PR | 19:21:27 | |
| They are helping a lot, it's very welcome ! | 19:21:38 | |
| Jan Tojnar: Can you have a look at this PR? https://github.com/NixOS/nixpkgs/pull/242166/files I guess I didn't do that in the best way. | 20:07:33 | |
Pol: yeah, thatβs the reason I prefer setup hooks + stdenv.mkDerivation over buildFoo β the latter just does not compose, leading to ugly stuff like this | 21:07:19 | |
| Yeah it's ugly :( | 21:13:29 | |
| What should we do? | 21:16:38 | |
| 10 Jul 2023 | ||
| Jan Tojnar: Issue has been fixed! https://github.com/NixOS/nixpkgs/pull/242166 and https://github.com/NixOS/nixpkgs/pull/242366 | 12:17:33 | |
| I have a question for you people. | 14:18:49 | |
| When doing this: https://github.com/NixOS/nixpkgs/blob/fb8cc2484eb3cfff4934b834d6d9cd6b80426d23/pkgs/development/php-packages/mongodb/default.nix#L17 | 14:18:56 | |
Basically, I'm calling buildPecl from php. | 14:19:08 | |
However, when used in fossar/nix-phps as such: nix build .#php74.extensions.mongodb, the PHP version in use is always 8.2. | 14:19:36 | |
| I changed the way the builder is called, from:
| 14:31:59 | |
| A solution has been found, PR is up at https://github.com/NixOS/nixpkgs/pull/242655 | 15:14:03 | |
| Hey got some news ! https://phpconference.com/web-development/leveraging-nix-php-ecosystem/ | 16:05:27 | |
| Going to have some fun :) | 16:18:02 | |
| nice one! :D if you need help or something let me know! | 16:34:28 | |
| Oh thanks :) | 16:34:55 | |
| I will most probably | 16:35:00 | |
Download image.png | 16:36:08 | |
| Did someone discovered too that php-fpm is ignoring signals? | 16:36:11 | |
| * Did someone discovered too that php-fpm is ignoring signals? We didn't updated I guess for 1-2 months our flake.lock. It's hard to find what causes it π | 16:36:35 | |
| Wow... no clue | 16:43:05 | |
| okay it was devenv related π https://github.com/cachix/devenv/pull/712 | 17:47:25 | |
| 23 Jul 2023 | ||
| Hey, I've got a weird behavior in a Nix project of mine. The project aim to maintain old versions of the PHP language. For some reason, the builds running on Darwin are picking the newest version of OpenSSL (3), not the old one (1) despite the fact that we are doing it (https://github.com/fossar/nix-phps/blob/9d00fd85709bcd48c80530cc71fbace99c375038/pkgs/package-overrides.nix#L510). See the Github actions run, almost all the Darwin builds are failing for the same reason: https://github.com/loophp/nix-shell/actions/runs/5635189875 Do you have a clue what it could be? | 07:56:08 | |
| I was not having the issue before: https://github.com/loophp/nix-shell/actions/runs/5563477289 | 07:58:53 | |