!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

79 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
19 Apr 2022
@drupol:matrix.orgPolOk!07:44:32
@drupol:matrix.orgPolAnd which platform ?07:44:36
@drupol:matrix.orgPoldarwin M1 ?07:44:41
@christian.albrecht:matrix.mayflower.deChristian Albrecht Ahh, to nervous..., didn't read. Linux tutnix 5.15.34 #1-NixOS SMP Wed Apr 13 18:59:28 UTC 2022 x86_64 GNU/Linux 07:47:33
@drupol:matrix.orgPolWeird.07:48:51
@drupol:matrix.orgPolGoing to test.07:48:55
@drupol:matrix.orgPol Funny thing, to test if this is failing, I just have to create a composer.json file in a test directory and add "ext-fileinfo": "*" to the require-dev section ;) 07:49:34
@drupol:matrix.orgPolIt works here07:51:55
@drupol:matrix.orgPolimage.png
Download image.png
07:51:57
@drupol:matrix.orgPolTo test on your side, do:07:52:14
@drupol:matrix.orgPol
  1. Create a composer.json file in a random dir
  2. The content of it should be:
{
    "name": "pol/foo",
    "require": {
        "ext-fileinfo": "*"
    }
}
  1. Run: nix develop github:loophp/nix-shell#php80 --impure in the same directory
07:53:23
@christian.albrecht:matrix.mayflower.deChristian AlbrechtOk07:53:44
@christian.albrecht:matrix.mayflower.deChristian AlbrechtThis does give me a shell indeed. Tried again the previous failing method, but this fails because of other issues right now. Will recheck when i have time to do.08:10:13
@drupol:matrix.orgPolAllrighty08:10:52
@drupol:matrix.orgPolLet us know how it goes08:10:58
@christian.albrecht:matrix.mayflower.deChristian Albrecht👍️08:12:14
@christian.albrecht:matrix.mayflower.deChristian Albrecht Hm, ok. Even nix-shell -I nixpkgs=/ws/nixpkgs -p 'php80.withExtensions ({ all, ... }: with all; [ all.fileinfo ])' works now. Sorry for the noise 🤷 08:27:00
20 Apr 2022
@ahsmha:matrix.org@ahsmha:matrix.org joined the room.19:00:21
21 Apr 2022
@wybpip:matrix.org@wybpip:matrix.org joined the room.00:50:20
@wybpip:matrix.org@wybpip:matrix.org left the room.00:50:21
@drupol:matrix.orgPolIt would be nice if someone could take over here: https://github.com/NixOS/nixpkgs/pull/15728717:08:27
@drupol:matrix.orgPolI don't know how to fix this... but I stumble on this issue every single day.17:08:43
23 Apr 2022
@drupol:matrix.orgPolWe need a review here: https://github.com/NixOS/nixpkgs/pull/16972817:32:38
24 Apr 2022
@drupol:matrix.orgPolHow to apply a patch to a particular arch only?15:38:38
@drupol:matrix.orgPol Got it optionalString stdenv.hostPlatform.isDarwin 15:44:10
@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

Show newer messages


Back to Room ListRoom Version: 6