!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

64 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
24 Oct 2024
@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
@ma27:nicht-so.sexyma27 the current state of the PR builds because we provide the correct PHP.
But if you do php.withExtensions [ps.parallel], it would build fine, but just wouldn't work, correct?
10:03:21
@ma27:nicht-so.sexyma27so yes, I think a user should explicitly "declare" a PHP with ZTS and only then zts-requiring extensions can be added.10:03:47
@ma27:nicht-so.sexyma27does that make sense?10:03:56
@hansemschnokeloch:matrix.orghansemschnokelochIt make sense to me, I first thought of adding an assertion somewhere like here, but didn't figured out how to do it in a php extension https://github.com/NixOS/nixpkgs/blob/86e1ad4ec007f4f0e9561886935fe9b278860de8/nixos/modules/services/web-servers/apache-httpd/default.nix#L63710:07:12
@drupol:matrix.orgPolThat could also be an option10:09:04
@drupol:matrix.orgPol(maybe I'm wrong too)10:09:16
@ma27:nicht-so.sexyma27I'd rather do it on a package-level than module-level since this is a problem on the package-level.10:09:41
@ma27:nicht-so.sexyma27the code you've linked is correct because it's an issu ein the combination of httpd and php (AFAIU)10:09:54
@ma27:nicht-so.sexyma27I mean, otherwise we catch the problem for whatever fpm/httpd/? service we build this into, but not for deployments that only use the packages, but run them on their own (i.e. without services).10:10:52
@drupol:matrix.orgPol
In reply to @drupol:matrix.org
That could also be an option
No, I mean, we could use an assertion like the one linked up there in the package parallel too.
10:11:40
@shyim:matrix.orgShyimcan we put php extension in pkgs/by-name or is that not working?16:34:37
@drupol:matrix.orgPolI don't think this is such a such a good idea19:41:53

There are no newer messages yet.


Back to Room ListRoom Version: 6