| 19 Oct 2024 | 
 @drupol:matrix.org |  I think I've got a working proof of concept, going to post this on nixpkgs soon.  | 19:12:35 | 
 @drupol:matrix.org | Argh can't get it to work...  | 19:48:55 | 
 @drupol:matrix.org |  I have no clue how we could specify the PHP version to use to the buildPecl builder.  | 19:49:20 | 
| 23 Oct 2024 | 
 hansemschnokeloch | I found a way to specify the php version in buildPecl, but I'm not quite sure if this is the right way to do it. My PR https://github.com/NixOS/nixpkgs/pull/350771 | 20:05:45 | 
| 24 Oct 2024 | 
 @drupol:matrix.org |  hansemschnokeloch: Nice ! I didn't know it was php.unwrapped I was passing php. This is why it was not working.  | 08:14:28 | 
 @drupol:matrix.org | I just made a new comment, asking for changes. | 08:14:39 | 
 @drupol:matrix.org |  We usually do not pass pkgs to derivations.  | 08:14:47 | 
 hansemschnokeloch | I just replyed, I've an infinite recursion if I pass php | 08:19:09 | 
 @drupol:matrix.org |   hansemschnokeloch: Try this: 
diff --git i/pkgs/development/php-packages/parallel/default.nix w/pkgs/development/php-packages/parallel/default.nix
index 74296f1ec493..296fed10da94 100644
--- i/pkgs/development/php-packages/parallel/default.nix
+++ w/pkgs/development/php-packages/parallel/default.nix
@@ -1,14 +1,10 @@
 {
   buildPecl,
   lib,
-  pkgs,
+  php,
 }:
 
-let
-  # parallel requires ZTS support
-  php = pkgs.php.override { ztsSupport = true; };
-in
-(buildPecl.override { php = php.unwrapped; }) {
+(buildPecl.override { php = (php.override { ztsSupport = true; }).unwrapped; }) {
   pname = "parallel";
   version = "1.2.4";
   hash = "sha256-s9W9aZpQsJLdzZ/d2E1iGDsMTAAjeWbOgWeKP6nNp0A=";
 
  | 08:21:08 | 
 hansemschnokeloch |   Download Capture d’écran du 2024-10-24 10-23-21.png | 08:23:40 | 
 hansemschnokeloch | don't work either,  | 08:23:42 | 
 @drupol:matrix.org | ooooh | 08:24:10 | 
 @drupol:matrix.org | dafuq is this issue | 08:26:41 | 
 @drupol:matrix.org | I don't understand it. | 08:26:58 | 
 @drupol:matrix.org |  phpWithZtsSupport = (php.overrideAttrs (oldAttrs: { ztsSupport = true; }));
 
  | 08:28:16 | 
 @drupol:matrix.org | This seems to work | 08:28:20 | 
 hansemschnokeloch |  let
  # parallel requires ZTS support
  phpWithZtsSupport = (
    php.overrideAttrs (oldAttrs: {
      ztsSupport = true;
    })
  );
in
(buildPecl.override { php = phpWithZtsSupport.unwrapped; }) {
 
you mean this way ? 
  | 08:34:05 | 
 @drupol:matrix.org | It's still compiling here, I'll let you know when it's done... but yeah something like that. | 08:34:48 | 
 hansemschnokeloch |  
checking PHP version... 80224 > checking for ZTS... configure: error: parallel requires ZTS, please use PHP with ZTS enabled 
 
  | 08:35:33 | 
 @drupol:matrix.org | Doesn't work either. | 08:37:24 | 
 @drupol:matrix.org |  Oh I forgot the .unwrapped.  | 08:37:49 | 
 @drupol:matrix.org | Let me try again. | 08:37:51 | 
 @drupol:matrix.org |     > checking for ZTS... configure: error: parallel requires ZTS, please use PHP with ZTS enabled
 
  | 08:38:33 | 
 @drupol:matrix.org | Same. | 08:38:35 | 
 @drupol:matrix.org | Dang. | 08:38:38 | 
 @drupol:matrix.org |  I think we should ask Jan Tojnar or ma27 here. I'm running out of ideas TBH.  | 08:39:01 | 
 ma27 | no promises, may be able to take a look tonight. Feel free to ping me again if you haven't found a solution until then. | 08:40:02 | 
 w | Folks, ia there a group for nignx ou webservers? | 16:00:27 | 
 w | * Folks, is there a group for nignx ou webservers? | 16:00:52 | 
| 25 Oct 2024 | 
 @drupol:matrix.org |   In reply to @ma27:nicht-so.sexy no promises, may be able to take a look tonight. Feel free to ping me again if you haven't found a solution until then.  Gentle ping ^^ :)  | 08:16:28 |