!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

65 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
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.netpatka

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.netpatkaPerhaps it's still the same that is actually not fixed? :( 21:52:49
@patka:envs.netpatkaI'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

There are no newer messages yet.


Back to Room ListRoom Version: 6