!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

74 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
29 Oct 2024
@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
@drupol:matrix.orgPolAh interesting ! Let me know how to reproduce the issue and I'll check it out18:06:04
17 Nov 2024
@drupol:matrix.orgPol patka: I have the feeling that we have another issue: https://github.com/NixOS/nixpkgs/pull/356704/files and https://github.com/NixOS/nixpkgs/pull/356691/files :S 18:47:53
@patka:envs.net@patka:envs.netPerhaps it's still the same that is actually not fixed? :( 21:52:49
@patka:envs.net@patka:envs.netI'm just going to be honest: I find it pretty hard to find motivation with maintaining PHP stuff since all I ever really use is php with some extensions and plain composer21:56:42
18 Nov 2024
@drupol:matrix.orgPolIt's the same for me, no worries. I maintain plenty of things I don't use anyway. But as long as the changes are 2 lines (version, hash), it's fine.08:14:34
19 Nov 2024
@Ambrosia:matrix.orgAmbrosia joined the room.18:42:54
30 Nov 2024
@genghiz:cdw.go7box.xyzGenghizMerge please? 😬 https://github.com/NixOS/nixpkgs/pull/35583816:18:49
21 Dec 2024
@ma27:nicht-so.sexyma27hmm, it's kinda unfortunate that r-ryantm doesn't notify (by opt-in obviously) people if upgrade-attempts fail. Like, the 8.3 upgrade was skipped entirely because one of the exts don't build...15:45:40
26 Dec 2024
@phaer:matrix.orgphaer changed their display name from phaer to phaer (8650 at 38c3).17:42:07
@drupol:matrix.orgPol piotrkwiecinski: I've improved the patch you made at the time after giving another look today. 19:56:24

Show newer messages


Back to Room ListRoom Version: 6