!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

77 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
13 Apr 2023
@drupol:matrix.orgPol Given all the issue we might face with Composer not being to reproduce correctly the outputs (poke tgerbet), I'm still wondering... 18:23:57
@jtojnar:matrix.orgJan Tojnarif you only do the download in FOD, it might be fine18:24:43
@jtojnar:matrix.orgJan Tojnaryou definitely cannot install there18:25:01
@drupol:matrix.orgPolCan you tell me how am I supposed to do that?18:26:06
@drupol:matrix.orgPol I have to use --download-only, right ? 18:26:19
@drupol:matrix.orgPolOoooh I got it !!!!18:26:41
@drupol:matrix.orgPolWe do the download in the FOD18:26:49
@drupol:matrix.orgPolThen the install in the outer derivation18:26:56
@drupol:matrix.orgPolOh that's clever damn.18:27:05
@jtojnar:matrix.orgJan Tojnaryup18:28:32
@jtojnar:matrix.orgJan Tojnar Pol: also with download-only most of the other flags are not relevant 18:32:38
@jtojnar:matrix.orgJan Tojnarand we probably do not want quit to make debugging easier18:32:55
@jtojnar:matrix.orgJan Tojnar * and we probably do not want quiet to make debugging easier18:33:01
@drupol:matrix.orgPolOki18:33:10
@drupol:matrix.orgPolI'll brb in a couple of minutes, my raspberry Pi is making an update and it is slowing down the whole house network... 18:34:07
@drupol:matrix.orgPolI'm doing it while the kids are away :D18:34:15
@drupol:matrix.orgPolIT works !19:02:11
@drupol:matrix.orgPol Of course, all the vendorHash needs to be refreshed... damn :S 19:04:36
@drupol:matrix.orgPolWould it be a good idea to have a centralized composer cache ?19:09:42
@drupol:matrix.orgPol Jan Tojnar: How can I prevent this? 19:17:01
@drupol:matrix.orgPolimage.png
Download image.png
19:17:04
@jtojnar:matrix.orgJan Tojnar Pol: I would use ${lib.optionalString (composerLock != null) "cp ${composerLock} composer.lock"} instead of the bash check 19:18:23
@drupol:matrix.orgPolbeautiful.19:21:21
14 Apr 2023
@drupol:matrix.orgPol Jan Tojnar: I tried to Composer by the source (with buildPhpProject builder), but I end up an infinite recursion. Do you have a clue on how we could build composer by the source? I guess the issue comes from https://github.com/NixOS/nixpkgs/pull/225401/files#diff-53e28b8539b04d6898db30da46a18a0bd1747d920ec8e70df2cd78eb1c0fb69bR59 since I require php.packages.composer to build a package ... is there a way to fix this you think ? 10:42:19
@drupol:matrix.orgPolI think I found the solution.12:05:44
@drupol:matrix.orgPol Jan Tojnar: There is an issue with Composer since I switched to the source, have a look: https://logs.ofborg.org/?key=nixos/nixpkgs.225401&attempt_id=ec47ce99-0ba6-473e-a5bb-3a58b2e58f7f 19:34:43
@jtojnar:matrix.orgJan Tojnar Pol: that sounds like bash is trying to run a php script 19:35:38
@drupol:matrix.orgPolI can't debug this thing19:35:50
@drupol:matrix.orgPolI don't know what's wrong since it works fine here19:36:05
@jtojnar:matrix.orgJan Tojnartry clearing the FOD hash19:36:36

Show newer messages


Back to Room ListRoom Version: 6