| 18 Aug 2025 |
QuadRadical (Ping) | ohh ok thanks! | 20:59:32 |
Artturin | It's what adds the cargo config necessary necessary cross | 20:59:58 |
Artturin | * It's what adds the cargo config filr necessary for cross | 21:00:41 |
Artturin | * It's what adds the cargo config file necessary for cross | 21:00:57 |
QuadRadical (Ping) | hmm it fails | 21:02:55 |
QuadRadical (Ping) | error: builder for '/nix/store/ij147jszwkrf2ad1klcql0qrvadq2zys-glycin-loaders-aarch64-unknown-linux-gnu-1.2.3.drv' failed with exit code 1;
last 6 log lines:
> Running phase: unpackPhase
> unpacking source archive /nix/store/ics3xr1jgfmagn18jax3h5nva7g5smys-glycin-1.2.3.tar.xz
> source root is glycin-1.2.3
> Executing cargoSetupPostUnpackHook
> unpacking source archive
> do not know how to unpack source archive
For full logs, run 'nix log /nix/store/ij147jszwkrf2ad1klcql0qrvadq2zys-glycin-loaders-aarch64-unknown-linux-gnu-1.2.3.drv'.
| 21:02:58 |
QuadRadical (Ping) | does it not like tar xz? | 21:06:56 |
Artturin | In reply to @quadradical:federated.nexus
error: builder for '/nix/store/ij147jszwkrf2ad1klcql0qrvadq2zys-glycin-loaders-aarch64-unknown-linux-gnu-1.2.3.drv' failed with exit code 1;
last 6 log lines:
> Running phase: unpackPhase
> unpacking source archive /nix/store/ics3xr1jgfmagn18jax3h5nva7g5smys-glycin-1.2.3.tar.xz
> source root is glycin-1.2.3
> Executing cargoSetupPostUnpackHook
> unpacking source archive
> do not know how to unpack source archive
For full logs, run 'nix log /nix/store/ij147jszwkrf2ad1klcql0qrvadq2zys-glycin-loaders-aarch64-unknown-linux-gnu-1.2.3.drv'.
cargoSetupHooks needs a cargoDeps attribute | 21:09:21 |
Artturin | Check the gnome-user-share | 21:09:30 |
Artturin | How has glycine been working without one? Does it not fetch cargo deps | 21:09:49 |
Artturin | Glycine-loader sand libglycine are separate packages | 21:10:35 |
Artturin | Libglycin has cargoDeps https://github.com/NixOS/nixpkgs/blob/d2646c893ceb55146a1733ce1d9bf0f91d0714bb/pkgs/by-name/li/libglycin/package.nix#L4 | 21:10:49 |
QuadRadical (Ping) | ohh i see ok ay | 21:11:26 |
QuadRadical (Ping) | * ohh i see okay | 21:11:30 |
QuadRadical (Ping) | ill add it later | 21:11:33 |
Artturin | Seems like an oversight that the config can't be created by the hook without a cargoDeps attr | 21:13:23 |
Artturin | In reply to @quadradical:federated.nexus ill add it later It hasn't needed it before | 21:14:39 |
Artturin | Try this in postPatch
cat >> .cargo/config.toml <<'EOF'
${rustPlatform.cargoSetupHook.cargoConfig}
EOF
| 21:19:43 |
Artturin | Try that path and /build/.cargo and the cargo-home | 21:20:37 |
QuadRadical (Ping) | adding just that did nothing | 21:43:52 |
QuadRadical (Ping) | okay | 21:43:57 |
QuadRadical (Ping) | nothing worked | 22:36:50 |
QuadRadical (Ping) | as far as i can see | 22:36:52 |
| 19 Aug 2025 |
QuadRadical (Ping) | if anyone has an idea on how to fix this id be most appreciative :) | 00:38:08 |
Artturin | On my pc now and looking at the failed | 00:38:35 |
Artturin | * On my pc now and looking at the failed dir | 00:38:42 |
Artturin | the src includes a vendor and .cargo dir | 00:39:02 |
QuadRadical (Ping) | cargo should be picking this up | 00:39:15 |
Artturin | That's why specifying cargoDeps hasn't been necessary | 00:39:16 |
QuadRadical (Ping) | i see | 00:39:21 |