!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

673 Members
Rust152 Servers

Load older messages


SenderMessageTime
14 Mar 2026
@amadaluzia:unredacted.orgamadaluzia -> 4d2.org changed their display name from amadaluzia to amadaluzia[uorg].18:48:50
@amadaluzia:unredacted.orgamadaluzia -> 4d2.org changed their display name from amadaluzia[uorg] to amadaluzia -> 4d2.org.21:22:12
15 Mar 2026
@beebakrizzle:matrix.orgbeeb joined the room.06:11:08
@xilec:matrix.orgxilec joined the room.10:21:01
@nightcat:continuwuity.rocksnightcat🏳️‍⚧️ joined the room.20:34:46
@isabel:isabelroses.comisabel changed their profile picture.20:54:39
@isabel:isabelroses.comisabel removed their profile picture.20:54:51
@isabel:isabelroses.comisabel set a profile picture.20:54:56
16 Mar 2026
@azban:matrix.orgazban joined the room.01:33:59
@purepani:matrix.orgpurepani changed their display name from purepani to purepanid.05:54:47
@purepani:matrix.orgpurepani changed their display name from purepanid to purepani.05:55:39
18 Mar 2026
@bemyak:matrix.org­­­ changed their display name from bemyak to ­­­.14:14:20
19 Mar 2026
@d86leader:matrix.org@d86leader:matrix.org left the room.15:50:05
20 Mar 2026
@pixelhamster:matrix.orgPixelHamsterHi, I'm trying to package my leptos application using a nix flake. For our CI it seemed very beneficial to have a separate dependency derivation (as crane recommends). However when compiling the dependencies on their own with crane's buildDepsOnly I get told it cannot find lld during compile of wasm-streams:12:19:07
@pixelhamster:matrix.orgPixelHamsterimage.png
Download image.png
12:19:10
@pixelhamster:matrix.orgPixelHamster

My 2 dependency derivations look something like this at the moment:

        cargoArtifacts = craneLib.buildDepsOnly commonArgs;
        
        cargoWasmArtifacts = craneLib.buildDepsOnly (commonArgs // { 
          # wasm-streams wants lld
          buildInputs = [ pkgs.lld ];
          cargoExtraArgs = "--target=wasm32-unknown-unknown --no-default-features --features hydrate ";
          # Additional environment variables can be set directly
          CARGO_PROFILE = "wasm-release";
          CARGO_TARGET_DIR = "target/front";
        });
12:19:38
@pixelhamster:matrix.orgPixelHamsterI looked at wasm-streams and didn't get where the lld requirement came from, otherwise I'd try to patch the crate 12:22:13
@azban:matrix.orgazban it looks like lld is missing during the cargo phase not during building wasm. can you try to add this as buildInputs at the top level of your derivation or in cargoArtificacts? hard to tell exactly what's going on only with that snippet of your derivation 23:50:31

There are no newer messages yet.


Back to Room ListRoom Version: 6