!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

80 Members
A room for PHP developers running on Nix22 Servers

Load older messages


SenderMessageTime
17 May 2023
@Zevran:matrix.orgGaël ReyrolMaybe it's enough for today, I need to go but I will try again tomorrow :)16:29:58
@drupol:matrix.orgPolOki16:31:30
@drupol:matrix.orgPolMerci pour l'aide :) c'est super sympa16:31:36
@Zevran:matrix.orgGaël ReyrolYou're welcome, avec plaisir ! 16:32:07
@drupol:matrix.orgPol Jan Tojnar: Can you have a look if you have time ? 17:07:47
@drupol:matrix.orgPol For some reason, I'm unable to use the output of the ${composerVendorCache}. 17:09:20
@drupol:matrix.orgPolLet me share a screenshot... 17:09:50
@drupol:matrix.orgPolhttps://i.imgur.com/VNLc3eB.png17:10:46
@drupol:matrix.orgPol In composerInstallConfigureHook, I can't access the output of the composerSetupHook basically. 17:11:35
@drupol:matrix.orgPol We see on the screenshot that the output has been created: composer> Local composer repository has been successfully created in /nix/store/rn4z77kw2p339ipyy9k7frwl2y36hzz6-composer-2.5.5-composer-cache/repo 17:12:03
@drupol:matrix.orgPol But when I try to access it later, it's not existing: > ls: cannot access '/nix/store/rn4z77kw2p339ipyy9k7frwl2y36hzz6-composer-2.5.5-composer-cache': No such file or directory 17:12:23
@drupol:matrix.orgPolYou can find the code in this branch: https://github.com/NixOS/nixpkgs/pull/23245017:18:37
@jtojnar:matrix.orgJan Tojnarthat sounds again like a store path in FOD bug18:33:35
@jtojnar:matrix.orgJan Tojnar Pol: does the composer plug-in by chance output absolute paths in the manifest? 18:34:00
@drupol:matrix.orgPol
In reply to @jtojnar:matrix.org
Pol: does the composer plug-in by chance output absolute paths in the manifest?
It can do both
18:39:59
@drupol:matrix.orgPolIf you pass an absolute path, it will be absolute, otherwise not.18:40:35
@drupol:matrix.orgPolIt just concatenate paths so...18:40:51
@jtojnar:matrix.orgJan Tojnaryeah, than it's that bug18:44:01
@jtojnar:matrix.orgJan TojnarFOD cannot contain store paths18:44:21
@drupol:matrix.orgPolAh. Damn...18:45:11
@drupol:matrix.orgPolWe are blocked everywhere 18:45:21
@drupol:matrix.orgPolI'm starting to loose faith18:45:28
@jtojnar:matrix.orgJan Tojnaryou just need to use relative paths18:51:17
@jtojnar:matrix.orgJan Tojnarthat would be the same with other methods as well18:51:31
@drupol:matrix.orgPolOk... Will try19:08:14
@drupol:matrix.orgPolI'm close to a solution.20:28:09
@drupol:matrix.orgPolhttps://i.imgur.com/r8nyxVJ.png20:29:07
@drupol:matrix.orgPolFor some reason, composer doesn't pick up the local repo.20:30:57
@drupol:matrix.orgPolI guess it's just a matter of wiring directories here and there.20:31:10
@drupol:matrix.orgPolTo make it work with absolute path, I did a trick20:32:05

Show newer messages


Back to Room ListRoom Version: 6