!jngDrdMgndWibPCYsR:nixos.org

Nix PHP

78 Members
A room for PHP developers running on Nix23 Servers

Load older messages


SenderMessageTime
17 May 2023
@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
@drupol:matrix.orgPolI'm using this: https://github.com/NixOS/nixpkgs/pull/232450/files#diff-8b7b6933957bf6ee2ddf23b376fe97a96708ced9cdaf1fcb26f452873a76723dR2820:32:09
@drupol:matrix.orgPolI'll continue tomorrow. gnite all.21:23:01
18 May 2023
@drupol:matrix.orgPolI'll be working on this around 3pm , let me know if you want to discuss about it08:47:18
@Zevran:matrix.orgGaƫl ReyrolI am not available today but I will have some tomorrow !13:02:37
@drupol:matrix.orgPolNo worries. Working on it now.14:46:16

Show newer messages


Back to Room ListRoom Version: 6