!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

74 Members
A room for PHP developers running on Nix21 Servers

Load older messages


SenderMessageTime
13 Apr 2023
@drupol:matrix.org@drupol:matrix.org I have to use --download-only, right ? 18:26:19
@drupol:matrix.org@drupol:matrix.orgOoooh I got it !!!!18:26:41
@drupol:matrix.org@drupol:matrix.orgWe do the download in the FOD18:26:49
@drupol:matrix.org@drupol:matrix.orgThen the install in the outer derivation18:26:56
@drupol:matrix.org@drupol:matrix.orgOh 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.org@drupol:matrix.orgOki18:33:10
@drupol:matrix.org@drupol:matrix.orgI'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.org@drupol:matrix.orgI'm doing it while the kids are away :D18:34:15
@drupol:matrix.org@drupol:matrix.orgIT works !19:02:11
@drupol:matrix.org@drupol:matrix.org Of course, all the vendorHash needs to be refreshed... damn :S 19:04:36
@drupol:matrix.org@drupol:matrix.orgWould it be a good idea to have a centralized composer cache ?19:09:42
@drupol:matrix.org@drupol:matrix.org Jan Tojnar: How can I prevent this? 19:17:01
@drupol:matrix.org@drupol:matrix.orgimage.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.org@drupol:matrix.orgbeautiful.19:21:21
14 Apr 2023
@drupol:matrix.org@drupol:matrix.org 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.org@drupol:matrix.orgI think I found the solution.12:05:44
@drupol:matrix.org@drupol:matrix.org 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.org@drupol:matrix.orgI can't debug this thing19:35:50
@drupol:matrix.org@drupol:matrix.orgI don't know what's wrong since it works fine here19:36:05
@jtojnar:matrix.orgJan Tojnartry clearing the FOD hash19:36:36
@drupol:matrix.org@drupol:matrix.orgAre you able to reproduce the issue ?19:37:14
@drupol:matrix.org@drupol:matrix.orgEven after clearing the hashes, no problems here.19:37:31
@jtojnar:matrix.orgJan Tojnarwill try to take a look later19:41:27
@drupol:matrix.org@drupol:matrix.orgOki19:41:29

Show newer messages


Back to Room ListRoom Version: 6