| 9 Jul 2023 |
Pol | Same stuff. | 10:03:16 |
Jan Tojnar | Pol: that might be that our builders have outdated apple core library shims or something like that | 19:18:29 |
Jan Tojnar | * Pol: that might be Nixpkgs has outdated apple core library shims or something like that | 19:18:44 |
Pol | There's a very interesting discussion in macos nixos channel ! You might be interested | 19:18:54 |
Pol | https://matrix.to/#/#macos:nixos.org | 19:19:01 |
Pol | I've been told to do: | 19:19:08 |
Pol | datadog_trace = pkgs.darwin.apple_sdk_11_0.callPackage ../development/php-packages/datadog_trace { }; | 19:19:19 |
Jan Tojnar | oh, right sdk version, was the thing | 19:20:58 |
Pol | I'm testing plenty of different things on the PR | 19:21:27 |
Pol | They are helping a lot, it's very welcome ! | 19:21:38 |
Pol | 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 |
Jan Tojnar | 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 |
Pol | Yeah it's ugly :( | 21:13:29 |
Pol | What should we do? | 21:16:38 |
| 10 Jul 2023 |
Pol | Jan Tojnar: Issue has been fixed! https://github.com/NixOS/nixpkgs/pull/242166 and https://github.com/NixOS/nixpkgs/pull/242366 | 12:17:33 |
Pol | I have a question for you people. | 14:18:49 |
Pol | When doing this: https://github.com/NixOS/nixpkgs/blob/fb8cc2484eb3cfff4934b834d6d9cd6b80426d23/pkgs/development/php-packages/mongodb/default.nix#L17 | 14:18:56 |
Pol | Basically, I'm calling buildPecl from php. | 14:19:08 |
Pol | 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 |
Pol | I changed the way the builder is called, from: buildPecl rec {...} to php.buildPecl rec {...}. At first I though that the behavior would be the same as the original one, but it's not. The php version is always the same, no matter wich one I specify: nix build .#php81.extensions.mongodb or nix build .#php83.extensions.mongodb. It is still picking PHP 8.2. How can I do to use the old behavior and just use buildPecl rec {...} ? I tried and I get this issue:
❯ nix build .#php83.extensions.mongodb -L
error: evaluation aborted with the following error message: 'Function called without required argument "buildPecl" at /nix/store/ij8r2bhqxjqahyrn09wb69hy871d6ssg-source/pkgs/development/php-packages/mongodb/default.nix:2'
~/C/N/nixpkgs > php/extension/bump-mongodb-extension +2 -2 [!] ✘
| 14:31:59 |
Pol | A solution has been found, PR is up at https://github.com/NixOS/nixpkgs/pull/242655 | 15:14:03 |
Pol | Hey got some news ! https://phpconference.com/web-development/leveraging-nix-php-ecosystem/ | 16:05:27 |
Pol | Going to have some fun :) | 16:18:02 |
Shyim | nice one! :D if you need help or something let me know! | 16:34:28 |
Pol | Oh thanks :) | 16:34:55 |
Pol | I will most probably | 16:35:00 |
Shyim |  Download image.png | 16:36:08 |
Shyim | Did someone discovered too that php-fpm is ignoring signals? | 16:36:11 |
Shyim | * 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 |
Pol | Wow... no clue | 16:43:05 |