!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

67 Members
A room for PHP developers running on Nix20 Servers

Load older messages


SenderMessageTime
24 Oct 2024
@hansemschnokeloch:matrix.orghansemschnokeloch
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.orgPolIt's still compiling here, I'll let you know when it's done... but yeah something like that.08:34:48
@hansemschnokeloch:matrix.orghansemschnokeloch

checking PHP version... 80224
> checking for ZTS... configure: error: parallel requires ZTS, please use PHP with ZTS enabled

08:35:33
@drupol:matrix.orgPolDoesn't work either.08:37:24
@drupol:matrix.orgPol Oh I forgot the .unwrapped. 08:37:49
@drupol:matrix.orgPolLet me try again.08:37:51
@drupol:matrix.orgPol
   > checking for ZTS... configure: error: parallel requires ZTS, please use PHP with ZTS enabled
08:38:33
@drupol:matrix.orgPolSame.08:38:35
@drupol:matrix.orgPolDang.08:38:38
@drupol:matrix.orgPol I think we should ask Jan Tojnar or ma27 here. I'm running out of ideas TBH. 08:39:01
@ma27:nicht-so.sexyma27no 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
@wjjunyor:matrix.orgwFolks, ia there a group for nignx ou webservers?16:00:27
@wjjunyor:matrix.orgw* Folks, is there a group for nignx ou webservers?16:00:52
25 Oct 2024
@drupol:matrix.orgPol
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
@ma27:nicht-so.sexyma27 uh yes.
didn't forget, but fell asleep 🙈
let's retry this afternoon!
08:30:02
@drupol:matrix.orgPolHaha that's a good illness, happen all the time to me too :D08:40:46
@ma27:nicht-so.sexyma27 Pol hansemschnokeloch would you mind sharing the state that causes the configure error? It's kinda hard to follow what you've changed so far and I don't want to debug something unrelated 😅 09:41:56
@drupol:matrix.orgPolWe wish we could fix the issue here: https://github.com/NixOS/nixpkgs/pull/35077109:43:47
@drupol:matrix.orgPol I wish we could pass the php in the top-level parameters and modify the php derivation. 09:44:22
@drupol:matrix.orgPolBut it's not possible sadly.09:44:28
@drupol:matrix.orgPolI'm trying to find an elegant solution09:44:38
@drupol:matrix.orgPolBut I'm running out of ideas.09:44:44
@ma27:nicht-so.sexyma27ah I misread it as debugging the error from above. OK sure, will take a look at that then!09:44:57
@drupol:matrix.orgPolMerci <309:45:18
@jtojnar:matrix.orgJan Tojnar Pol: I would not override PHP, I would just mark it as broken without ZTS 09:48:25
@jtojnar:matrix.orgJan Tojnarotherwise it will probably result in symbol conflicts or other confusing issues at runtime when using non-ZTS package09:50:02
@drupol:matrix.orgPolThis is another way to see this indeed. So we let the user customize PHP, it won't be done by the extension if I understand correctly?09:51:03
@hansemschnokeloch:matrix.orghansemschnokeloch If I understand it correctly, I just add meta.broken = !php.ztsSupport; ? 10:00:25
@drupol:matrix.orgPolYes I think that's what he means.10:01:44
@ma27:nicht-so.sexyma27Hmm, after thinking a bit abotu this, I agree with Jan.10:02:27

Show newer messages


Back to Room ListRoom Version: 6