| 19 Aug 2025 |
Artturin | * --keep-failed and see if /build/.cargo/config.toml matches what I sent in the screenshot | 01:08:58 |
QuadRadical (Ping) | /build/.cargo doesnt exist | 01:10:49 |
Artturin | Does the build log have the cargoSetupHooks at the start | 01:11:35 |
Artturin | Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/ics3xr1jgfmagn18jax3h5nva7g5smys-glycin-1.2.3.tar.xz
source root is glycin-1.2.3
Executing cargoSetupPostUnpackHook
Finished cargoSetupPostUnpackHook
| 01:11:37 |
QuadRadical (Ping) | in my build i just have these | 01:11:40 |
QuadRadical (Ping) |  Download Screenshot From 2025-08-18 21-11-26.png | 01:11:40 |
QuadRadical (Ping) | i think the .cargo here has your stuff | 01:12:02 |
QuadRadical (Ping) | yeah | 01:12:07 |
Artturin | Thats /build/.cargo | 01:12:19 |
QuadRadical (Ping) | oh is nix-build-glycin-loaders-aarch64-unknown-linux-gnu-1.2.3.drv-26 the same as /build | 01:12:46 |
Artturin | /build/.cargo is a full path in the sandbox | 01:12:57 |
Artturin | So I'm talking about sandbox paths | 01:13:03 |
Artturin | so yeah | 01:13:19 |
QuadRadical (Ping) | oh sorry | 01:13:22 |
QuadRadical (Ping) | then yes, i think i have the same | 01:13:33 |
QuadRadical (Ping) | [source."crates-io"]
"replace-with" = "vendored-sources"
[source."vendored-sources"]
"directory" = "/build/glycin-1.2.3/vendor"
[target."aarch64-unknown-linux-gnu"]
"linker" = "/nix/store/73kvxgyddj06nlvkd3wsl6vq2jr2dm1m-aarch64-unknown-linux-gnu-gcc-wrapper-14.3.0/bin/aarch64-unknown-linux-gnu-cc"
"rustflags" = [ "-Cforce-frame-pointers=yes" ]
| 01:13:42 |
QuadRadical (Ping) | a bit different actually? | 01:13:51 |
Artturin | For me the path is /comp-temp/nix-build-glycin-loaders-aarch64-unknown-linux-gnu-1.2.3.drv-5/build/.cargo tho | 01:13:58 |
QuadRadical (Ping) | you have an x86_64 thing in there | 01:14:09 |
QuadRadical (Ping) | i dont | 01:14:13 |
QuadRadical (Ping) | for me it is /nix/var/nix/builds/nix-build-glycin-loaders-aarch64-unknown-linux-gnu-1.2.3.drv-26/.cargo | 01:14:30 |
QuadRadical (Ping) | for me it is /nix/var/nix/builds/nix-build-glycin-loaders-aarch64-unknown-linux-gnu-1.2.3.drv-26/.cargo | 01:14:35 |
QuadRadical (Ping) | you have an x86 target in here but not me hmm | 01:14:57 |
Artturin | try super.rustPlatform.cargoSetupHook | 01:16:43 |
Artturin | * try super.buildPackages.rustPlatform.cargoSetupHook | 01:17:06 |
QuadRadical (Ping) | wait its compiling | 01:17:51 |
QuadRadical (Ping) | i think its working! | 01:17:53 |
QuadRadical (Ping) | interesting i wonder why the other one didnt work? | 01:18:04 |
Artturin | Splicing stuff, the best practice is to
glycin-loaders = super.callPackage ({ rustPlatform, andso-on }: super.glycin-loaders.overrideAttrs (old: {
...
}) { };
| 01:22:00 |
Artturin | is to use callPackage even in overlays and overrideAttrs | 01:22:25 |