| 13 Apr 2023 |
Pol | 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 |
Jan Tojnar | if you only do the download in FOD, it might be fine | 18:24:43 |
Jan Tojnar | you definitely cannot install there | 18:25:01 |
Pol | Can you tell me how am I supposed to do that? | 18:26:06 |
Pol | I have to use --download-only, right ? | 18:26:19 |
Pol | Ooooh I got it !!!! | 18:26:41 |
Pol | We do the download in the FOD | 18:26:49 |
Pol | Then the install in the outer derivation | 18:26:56 |
Pol | Oh that's clever damn. | 18:27:05 |
Jan Tojnar | yup | 18:28:32 |
Jan Tojnar | Pol: also with download-only most of the other flags are not relevant | 18:32:38 |
Jan Tojnar | and we probably do not want quit to make debugging easier | 18:32:55 |
Jan Tojnar | * and we probably do not want quiet to make debugging easier | 18:33:01 |
Pol | Oki | 18:33:10 |
Pol | I'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 |
Pol | I'm doing it while the kids are away :D | 18:34:15 |
Pol | IT works ! | 19:02:11 |
Pol | Of course, all the vendorHash needs to be refreshed... damn :S | 19:04:36 |
Pol | Would it be a good idea to have a centralized composer cache ? | 19:09:42 |
Pol | Jan Tojnar: How can I prevent this? | 19:17:01 |
Pol |  Download image.png | 19:17:04 |
Jan Tojnar | Pol: I would use ${lib.optionalString (composerLock != null) "cp ${composerLock} composer.lock"} instead of the bash check | 19:18:23 |
Pol | beautiful. | 19:21:21 |
| 14 Apr 2023 |
Pol | 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 |
Pol | I think I found the solution. | 12:05:44 |
Pol | 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 |
Jan Tojnar | Pol: that sounds like bash is trying to run a php script | 19:35:38 |
Pol | I can't debug this thing | 19:35:50 |
Pol | I don't know what's wrong since it works fine here | 19:36:05 |
Jan Tojnar | try clearing the FOD hash | 19:36:36 |