!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

707 Members
Rust161 Servers

Load older messages


SenderMessageTime
20 Mar 2026
@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
21 Mar 2026
@pyrox:pyrox.devdish [Fox/It/She]
In reply to @pyrox:pyrox.dev
https://github.com/thepowersgang/mrustc/pull/387 mrustc 1.90 support 👀
got merged, do I make the probably bad decision of trying to make a bootstrap chain from this
14:21:41
@pyrox:pyrox.devdish [Fox/It/She]* <mx-reply><blockquote><a href="https://matrix.to/#/!FBuJyWXTGcGtHTPphC:nixos.org/$m5Nz8gWgTwg1zAjDa2xN0G7UQGHyPEjvE5NhUCMeLNU?via=pyrox.dev&via=matrix.org&via=catgirl.cloud">In reply to</a> <a href="https://matrix.to/#/@pyrox:pyrox.dev">@pyrox:pyrox.dev</a><br /><a href="https://github.com/thepowersgang/mrustc/pull/387">https://github.com/thepowersgang/mrustc/pull/387</a> mrustc 1.90 support 👀</blockquote></mx-reply>got merged, do I make the probably bad decision of trying to make a rustc bootstrap chain from this14:22:33
@pyrox:pyrox.devdish [Fox/It/She] ouch, the most recent bootstrap chain from dtolnay(mrustc targetting 1.90 -> 1.94 rustc) apparently requires 310gb of disk space. 14:27:19
@pyrox:pyrox.devdish [Fox/It/She]* ouch, the most recent bootstrap chain from dtolnay(mrustc targetting 1.90 -&gt; 1.94 rustc) apparently requires 310gb of disk space. though presumably they dont clean up build artifacts as they go, so nix may have an advantage in that area.14:28:50
@emilazy:matrix.orgemilymrustc lags behind regularly and I had to mark it broken at one point, which makes me leery14:34:40
@emilazy:matrix.orgemilyesp old Rust keeping around old LLVM would hurt since the packaging is so complex14:35:11
@pyrox:pyrox.devdish [Fox/It/She]yeahhhh14:36:26
@pyrox:pyrox.devdish [Fox/It/She]im glad it got 1.90 support cuz its been at 1.74 for a while14:36:42
@k900:0upti.meK900 Yeah it definitely doesn't feel like mrustc is sustainable 14:36:59
@pyrox:pyrox.devdish [Fox/It/She]it is clearly a peoject with a bus factor approaching 1, which definitely isnt good14:37:01
@k900:0upti.meK900 I'm not sure what is sustainable 14:37:08
@k900:0upti.meK900 If anything 14:37:14
@k900:0upti.meK900 Maybe we'll have gccrs one day 14:37:19
@pyrox:pyrox.devdish [Fox/It/She]i mean thats coming along somewhat well apparently14:37:33
@pyrox:pyrox.devdish [Fox/It/She]what they can compile im not sure on tho14:37:41
@whispers:catgirl.cloudwhispers [& it/fae]their current target rust version is 1.49 so it'll be a hot minute14:55:10
@cathal_mullan:matrix.orgCathal Would a fix to rustPlatform.fetchCargoVendor have to go through staging? Hit a bug around the recent changes (https://github.com/NixOS/nixpkgs/pull/387337) when building COSMIC packages. 15:47:43
@k900:0upti.meK900Yes16:10:43
@azban:matrix.orgazban is it intentional that cargoBuildHook doesn't support Cargo.lock files that have multiple dependencies with the same git repo as source with different commits. it seems like it causing this issue: https://github.com/NixOS/nixpkgs/issues/501981 23:27:19
@azban:matrix.orgazbannevermind, looks like there is a fix out https://github.com/NixOS/nixpkgs/pull/50197923:41:41
22 Mar 2026
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️I mean is there any way to accelerate it having a broken COSMIC DE for like a few weeks is not ideal.04:09:51
@qyliss:fairydust.spaceAlyssa Rosshow did it get updated in that state?15:00:41
@ryoeuyo:matrix.orgryo changed their profile picture.17:33:12
@ryoeuyo:matrix.orgryohi17:33:28
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️The staging update broke it17:36:48
@qyliss:fairydust.spaceAlyssa RossRedacted or Malformed Event19:03:13
23 Mar 2026
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️So yeag03:22:08

Show newer messages


Back to Room ListRoom Version: 6