!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

76 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
24 Apr 2022
@andreas.schraegle:helsinki-systems.deAndreas SchrägleWe normally try to avoid that to combat bit-rot. What's the patch?15:44:25
@drupol:matrix.orgPolThe issue is that I cannot compile PHP 7.2 on MacOS: https://github.com/loophp/nix-shell/runs/6147454385?check_suite_focus=true15:45:05
@drupol:matrix.orgPol There is an issue with the intl extension 15:45:14
@drupol:matrix.orgPolAnd I think I found a patch here: https://bugs.php.net/bug.php?id=7682615:45:27
@drupol:matrix.orgPolBut I cannot test locally, I need to test it on Github action.15:45:42
@andreas.schraegle:helsinki-systems.deAndreas Schrägle7.2? isn't that long dead?15:47:08
@drupol:matrix.orgPolIt is dead.15:47:38
@drupol:matrix.orgPol But we are maintaining a package here fossar/nix-phps where we maintain all PHP versions. 15:48:05
@drupol:matrix.orgPolAnd just for the sake of it, I'm trying to fix the issue.15:48:14
@hexa:lossy.networkhexa

The following versions are currently supported:

15:48:30
@hexa:lossy.networkhexawhere supported implies something very weird.15:48:40
@drupol:matrix.orgPolWe should update the README file, for sure.15:49:57
@drupol:matrix.orgPolHere's the problem with PHP 7.2: https://dpaste.org/OgXgA19:07:40
@drupol:matrix.orgPol It seems to be an issue in the intl extension. 19:07:52
@drupol:matrix.orgPolI cannot figure out what's the issue.19:08:02
@drupol:matrix.orgPolThe issue only happen on MacOS.19:08:09
25 Apr 2022
@drupol:matrix.orgPol etu: The pull request for adding PlatformSH has been recreated here: https://github.com/NixOS/nixpkgs/pull/170065 would be nice to have your input ! 07:33:16
@etu:semi.socialetu:)07:52:26
@etu:semi.socialetuYeah, it made more sense to not have it in PHP packages since it doesn't matter which PHP version it uses07:52:46
@etu:semi.socialetuAt least compared to something like composer where it matters a lot which extensions and php version it runs on07:53:16
@drupol:matrix.orgPolI agree !07:53:28
@drupol:matrix.orgPolThere are still 2 things that are really problematic in Nix with PHP.07:53:42
@drupol:matrix.orgPolAnd I can't do anything about it07:53:48
@drupol:matrix.orgPol
  1. https://github.com/NixOS/nixpkgs/pull/157287
  2. https://github.com/NixOS/nixpkgs/issues/154774
07:54:22
@drupol:matrix.orgPolIt would be so nice to push these 2 issues.07:54:32
@drupol:matrix.orgPol The first one prevent me to use infection/infection locally. As it needs XDebug, it fails because of all the warnings. 07:54:58
@drupol:matrix.orgPolThe second one also need some care, but I don't know where or how to start.07:55:19
@etu:semi.socialetuWriting a test07:55:30
@drupol:matrix.orgPolI don't really know, if you could give it some love or at least explain a bit how to do, I might have a look at some point.07:56:21
@etu:semi.socialetuHere's the tests file for php: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/php/default.nix07:58:30

Show newer messages


Back to Room ListRoom Version: 6