| 17 May 2023 |
Pol | For some reason, I'm unable to use the output of the ${composerVendorCache}. | 17:09:20 |
Pol | Let me share a screenshot... | 17:09:50 |
Pol | https://i.imgur.com/VNLc3eB.png | 17:10:46 |
Pol | In composerInstallConfigureHook, I can't access the output of the composerSetupHook basically. | 17:11:35 |
Pol | 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 |
Pol | 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 |
Pol | You can find the code in this branch: https://github.com/NixOS/nixpkgs/pull/232450 | 17:18:37 |
Jan Tojnar | that sounds again like a store path in FOD bug | 18:33:35 |
Jan Tojnar | Pol: does the composer plug-in by chance output absolute paths in the manifest? | 18:34:00 |
Pol | 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 |
Pol | If you pass an absolute path, it will be absolute, otherwise not. | 18:40:35 |
Pol | It just concatenate paths so... | 18:40:51 |
Jan Tojnar | yeah, than it's that bug | 18:44:01 |
Jan Tojnar | FOD cannot contain store paths | 18:44:21 |
Pol | Ah. Damn... | 18:45:11 |
Pol | We are blocked everywhere | 18:45:21 |
Pol | I'm starting to loose faith | 18:45:28 |
Jan Tojnar | you just need to use relative paths | 18:51:17 |
Jan Tojnar | that would be the same with other methods as well | 18:51:31 |
Pol | Ok... Will try | 19:08:14 |
Pol | I'm close to a solution. | 20:28:09 |
Pol | https://i.imgur.com/r8nyxVJ.png | 20:29:07 |
Pol | For some reason, composer doesn't pick up the local repo. | 20:30:57 |
Pol | I guess it's just a matter of wiring directories here and there. | 20:31:10 |
Pol | To make it work with absolute path, I did a trick | 20:32:05 |
Pol | I'm using this: https://github.com/NixOS/nixpkgs/pull/232450/files#diff-8b7b6933957bf6ee2ddf23b376fe97a96708ced9cdaf1fcb26f452873a76723dR28 | 20:32:09 |
Pol | I'll continue tomorrow. gnite all. | 21:23:01 |
| 18 May 2023 |
Pol | I'll be working on this around 3pm , let me know if you want to discuss about it | 08:47:18 |
Gaƫl Reyrol | I am not available today but I will have some tomorrow ! | 13:02:37 |
Pol | No worries. Working on it now. | 14:46:16 |