!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

558 Members
120 Servers

Load older messages


SenderMessageTime
18 Aug 2025
@artturin:matrix.orgArtturin
In reply to @quadradical:federated.nexus
sent an image.
What's in build/cargo-home
20:45:24
@quadradical:federated.nexusQuadRadical (Ping)  .global-cache  .package-cache  .package-cache-mutate 20:46:26
@artturin:matrix.orgArtturin Try
cp -R /build/.cargo $sourceRoot/
20:54:07
@quadradical:federated.nexusQuadRadical (Ping) in postPatch? 20:54:52
@artturin:matrix.orgArtturinYeah20:55:24
@quadradical:federated.nexusQuadRadical (Ping)no difference20:55:32
@quadradical:federated.nexusQuadRadical (Ping)wait no20:55:47
@quadradical:federated.nexusQuadRadical (Ping)i put it in the wrong overlay20:55:51
@quadradical:federated.nexusQuadRadical (Ping)1 sec20:55:52
@quadradical:federated.nexusQuadRadical (Ping) cp: cannot stat '/build/.cargo': No such file or directory 20:56:35
@quadradical:federated.nexusQuadRadical (Ping) should it be build/cargo-home instead? 20:57:20
@artturin:matrix.orgArtturinAhh20:58:32
@artturin:matrix.orgArtturinglycin-loaders doesn't have the cargoSetupHook20:58:50
@artturin:matrix.orgArtturinThat's the issur20:58:53
@artturin:matrix.orgArtturinJust add it like in the other package20:59:05
@artturin:matrix.orgArtturinAnd the copy isn't needed20:59:10
@quadradical:federated.nexusQuadRadical (Ping)ohh ok thanks!20:59:32
@artturin:matrix.orgArtturinIt's what adds the cargo config necessary necessary cross20:59:58
@artturin:matrix.orgArtturin* It's what adds the cargo config filr necessary for cross21:00:41
@artturin:matrix.orgArtturin* It's what adds the cargo config file necessary for cross21:00:57
@quadradical:federated.nexusQuadRadical (Ping) hmm it fails 21:02:55
@quadradical:federated.nexusQuadRadical (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:federated.nexusQuadRadical (Ping)does it not like tar xz?21:06:56
@artturin:matrix.orgArtturin
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:matrix.orgArtturinCheck the gnome-user-share21:09:30
@artturin:matrix.orgArtturinHow has glycine been working without one? Does it not fetch cargo deps21:09:49
@artturin:matrix.orgArtturin Glycine-loader sand libglycine are separate packages 21:10:35
@artturin:matrix.orgArtturinLibglycin has cargoDeps https://github.com/NixOS/nixpkgs/blob/d2646c893ceb55146a1733ce1d9bf0f91d0714bb/pkgs/by-name/li/libglycin/package.nix#L421:10:49
@quadradical:federated.nexusQuadRadical (Ping) ohh i see ok ay 21:11:26
@quadradical:federated.nexusQuadRadical (Ping)* ohh i see okay21:11:30

Show newer messages


Back to Room ListRoom Version: 6