!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

81 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
27 Oct 2022
@jtojnar:matrix.orgJan Tojnar
In reply to @drupol:matrix.org
What would be the steps to do that on fossar/nix-phps ?
I typically edit my nixpkgs checkout and then run nix build --override-input nixpkgs ~/Projects/nixpkgs ... in the nix-phps repo
17:46:58
@jtojnar:matrix.orgJan Tojnarlooks like it would go to the main php derivation17:47:40
@drupol:matrix.orgPol
In reply to @jtojnar:matrix.org
looks like it would go to the main php derivation
In NixOS/nixpkgs or fossar/nix-phps ?
18:19:53
@drupol:matrix.orgPol Ok I think I got it working by hacking generic.nix. 18:30:42
@drupol:matrix.orgPolGoing to submit the PR.18:30:49
@drupol:matrix.orgPolhttps://github.com/NixOS/nixpkgs/pull/19811118:33:52
@jtojnar:matrix.orgJan Tojnar Pol: probably should go to nix-phps if it does not affect newer versions 18:37:14
@jtojnar:matrix.orgJan Tojnar also to buildInputs since it is a host platform dependency 18:37:41
@drupol:matrix.orgPol yes, but how to add a nativeBuildInputs in nix-phps, that was my first concern actually. I'm having trouble seeing how to do that. 18:37:46
@jtojnar:matrix.orgJan Tojnarput it to https://github.com/fossar/nix-phps/blob/0e230ec9bac6c7d2742285bb34fef1cdab5b9d57/pkgs/phps.nix#L2318:38:29
@drupol:matrix.orgPolOk.18:40:30
@drupol:matrix.orgPolGoing to cancel the PR.18:40:33
@drupol:matrix.orgPol
In reply to @jtojnar:matrix.org
also to buildInputs since it is a host platform dependency
So, I add it in buildInputs instead of nativeBuildInputs ?
18:41:49
@jtojnar:matrix.orgJan Tojnaryup18:42:22
@drupol:matrix.orgPol
          buildInputs = attrs.buildInputs ++ prev.lib.optionals (prev.lib.versionOlder args.version 7.1) [
            prev.libxcrypt
          ];
18:43:08
@drupol:matrix.orgPolSomething like that?18:43:11
@jtojnar:matrix.orgJan Tojnarquote the version number18:44:56
@jtojnar:matrix.orgJan Tojnarotherwise lgtm18:45:04
@drupol:matrix.orgPolhttps://github.com/fossar/nix-phps/pull/16218:46:14
@drupol:matrix.orgPolGreen19:09:32
@drupol:matrix.orgPolAnd php82 rc5: https://github.com/fossar/nix-phps/pull/16319:34:36
28 Oct 2022
@andreas.schraegle:helsinki-systems.deAndreas Schräglehas anyone here seem more occurrences of stuff like https://github.com/NixOS/nixpkgs/issues/197726?00:04:07
@andreas.schraegle:helsinki-systems.deAndreas Schräglemeaning php software relying on ancient shitty not being available anymore (by default) when building php against openssl 3.xcrypto existing00:04:49
@andreas.schraegle:helsinki-systems.deAndreas Schrägle * meaning php software relying on ancient shitty not being available anymore (by default) when building php against openssl 3.x00:04:52
@andreas.schraegle:helsinki-systems.deAndreas Schrägle * meaning php software relying on ancient shitty crypto not being available anymore (by default) when building php against openssl 3.x00:06:36
@drupol:matrix.orgPolI had similar issue in symfony when doing https requests, but they are treated as warnings. I will see if I can find it.05:47:51
@drupol:matrix.orgPol Jan Tojnar: Homework: https://github.com/fossar/nix-phps/pull/163 05:47:59
@andreas.schraegle:helsinki-systems.deAndreas Schräglehttps://www.php.net/ChangeLog-8.php#8.0.2511:02:21
@andreas.schraegle:helsinki-systems.deAndreas Schräglemight open a PR later, but not sure if I'll have the time 11:03:03
@etu:failar.nuetuThey usually make a release for all the minor releases, so I'd wait a couple of hours and get both in at the same time :)11:41:34

Show newer messages


Back to Room ListRoom Version: 6