!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

693 Members
Rust158 Servers

Load older messages


SenderMessageTime
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
29 Oct 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".19:57:43
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".19:57:43
@grahamc:nixos.org@grahamc:nixos.org changed the room topic to "" from "".19:57:43
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.19:58:21
@voyager:t2bot.ioMatrix Traveler (bot) joined the room.19:59:14
@ralith:ralith.comRalith joined the room.20:00:28
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.20:00:52
@grahamc:nixos.org@grahamc:nixos.org invited @mjolnir:nixos.orgNixOS Moderation Bot.20:01:04
@mjolnir:nixos.orgNixOS Moderation Bot joined the room.20:01:05
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.20:01:08
Room Avatar Renderer.20:02:40
@hexa:lossy.networkhexa joined the room.20:04:36
@kity:kity.wtfash (it/its) 🏳️‍⚧️ joined the room.20:06:27
@noah:matrix.chatsubo.cafeChurch joined the room.20:18:19
@figsoda:matrix.orgfigsoda joined the room.20:33:22
@withoutwithin:matrix.orgXe Iaso joined the room.20:59:23
@tomberek:matrix.orgtomberek joined the room.21:02:26
@noah:matrix.chatsubo.cafeChurch changed their display name from noah ⚡️ to Church.21:02:31
@0x4a6f:matrix.org[0x4A6F] joined the room.21:17:23
@andi:kack.itandi- joined the room.22:37:38

Show newer messages


Back to Room ListRoom Version: 6