!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

71 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
25 Oct 2024
@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
26 Oct 2024
@shyim:matrix.orgShyimany better idea? :D https://github.com/symfony-cli/symfony-cli/pull/53010:49:10
@patka:envs.net@patka:envs.netRedacted or Malformed Event12:27:45
27 Oct 2024
@drupol:matrix.orgPol
In reply to @shyim:matrix.org
any better idea? :D https://github.com/symfony-cli/symfony-cli/pull/530
I'm pretty sure this will be rejected
16:29:03
28 Oct 2024
@hansemschnokeloch:matrix.orghansemschnokelochHi, how do you manage secrets with symfony ? Currently I encrypt the whole env.local file with agenix, it works fine but I would like to only encrypt the passwords and api keys with agenix.06:37:26
29 Oct 2024
@shyim:matrix.orgShyim
In reply to @drupol:matrix.org
I'm pretty sure this will be rejected
wdym about adding that as a patch to the symfony-cli package?
13:19:42
@drupol:matrix.orgPolI have no point of view on this 13:21:43
30 Oct 2024
@nebucatnetzer13:matrix.orgnebucatnetzer13 How can I override PHP including its extensions so that it takes the latest source?
I would like to test something but I’m a bit confused with the package set aspect.
So far I only had to override single packages.
17:31:46
@drupol:matrix.orgPol
In reply to @nebucatnetzer13:matrix.org
How can I override PHP including its extensions so that it takes the latest source?
I would like to test something but I’m a bit confused with the package set aspect.
So far I only had to override single packages.
Look how I do in loophp/php-src-nix on github
19:46:51
@nebucatnetzer13:matrix.orgnebucatnetzer13
In reply to @drupol:matrix.org
Look how I do in loophp/php-src-nix on github

Hm there's a lot going in in there.
Shouldn't something like this work?

20:14:05
@nebucatnetzer13:matrix.orgnebucatnetzer13
In reply to @drupol:matrix.org
Look how I do in loophp/php-src-nix on github
*

Hm there's a lot going in in there.
Shouldn't something like this work?
I really would just like to get version 8.3.13 and not much else.

myPhp83 = php83.override {
  version="8.3.13";
};
myPhp = myPhp83.buildEnv { .... };
20:18:50
31 Oct 2024
@drupol:matrix.orgPol
In reply to @nebucatnetzer13:matrix.org

Hm there's a lot going in in there.
Shouldn't something like this work?
I really would just like to get version 8.3.13 and not much else.

myPhp83 = php83.override {
  version="8.3.13";
};
myPhp = myPhp83.buildEnv { .... };
Just pass a src and it should be working.
09:19:56
@drupol:matrix.orgPolThis is what I do here: https://github.com/loophp/php-src-nix/blob/2470142d1f9abfcfa8972451c61ca0aaa6eb12c7/src/makePhpPackage.nix#L1509:20:11
@nebucatnetzer13:matrix.orgnebucatnetzer13
In reply to @drupol:matrix.org
This is what I do here: https://github.com/loophp/php-src-nix/blob/2470142d1f9abfcfa8972451c61ca0aaa6eb12c7/src/makePhpPackage.nix#L15

Thank, I got it to work when I passed a phpSrc.
Why doesn’t it work with just the version?
I’ve seen in nixpkgs that the version gets used in the URL of the defaultPhpSrc.

Beside that the tests for php-soap are now failing but at least the override worked :)

13:08:14
@nebucatnetzer13:matrix.orgnebucatnetzer13
In reply to @drupol:matrix.org
This is what I do here: https://github.com/loophp/php-src-nix/blob/2470142d1f9abfcfa8972451c61ca0aaa6eb12c7/src/makePhpPackage.nix#L15
* Thank, I got it to work when I passed a phpSrc.
Why doesn’t it work with just the version?
I’ve seen in nixpkgs that the version gets used in the URL of the defaultPhpSrc.
Beside that the tests for php-soap are now failing when building but at least the override itself worked :)
13:17:04
1 Nov 2024
@drupol:matrix.orgPolI don't really know much about PHP any more, I don't use it these last months, so it's hard for me to find some time to take care of it.09:14:41
@drupol:matrix.orgPol I think piotrkwiecinski fixed some stuff but he's awol since a couple of weeks now (hope he's fine!). 09:15:46
2 Nov 2024
@ma27:nicht-so.sexyma27

Pol what's your opinion on https://github.com/NixOS/nixpkgs/pull/352945 ?

Especially, do you have a better fix for the soap problem? Kinda unhappy with the current state.

13:15:49
@drupol:matrix.orgPolI have no opinion to be honest.13:37:06
@drupol:matrix.orgPolSo whatever fix would be fine for me13:37:17
@ma27:nicht-so.sexyma27OK, I guess I'll merge and open an issue for that.13:52:21
@ma27:nicht-so.sexyma27I don't want to block my own ZHF efforts on that, but sooner or later I'd like to see it fixed13:52:38
8 Nov 2024
@ma27:nicht-so.sexyma27currently bumping php 8.3 & 8.417:39:26
@ma27:nicht-so.sexyma27guess what's failing again?17:39:30
@ma27:nicht-so.sexyma27right! an ext-soap testcase 🫠17:39:41
13 Nov 2024
@patka:envs.net@patka:envs.net

Just throwing it out there, because I currently don't have the time to jump into it.

It looks like there's a permission problem with buildComposerProject2 when moving the vendor folder to $out. I'm slowly migrating everything to the new builder and it's the second time there's a mv trying to move vendor to $out and breaking.

I noticed it with both pixelfed and librenms

16:13:05

Show newer messages


Back to Room ListRoom Version: 6