!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

687 Members
Rust156 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
31 Oct 2025
@uie:matrix.orguie joined the room.11:57:33
1 Nov 2025
@acidbong:envs.net@acidbong:envs.net joined the room.07:48:39
@ihar.hrachyshka:matrix.orgIhar Hrachyshka joined the room.16:31:08
@ihar.hrachyshka:matrix.orgIhar Hrachyshkafor firefox (darwin) I need a llvmPackage_20 flavor of rust (rustc, cargo...). Here is what I have: https://github.com/NixOS/nixpkgs/pull/457369/commits/ba137568714c20347f22038516307906a5da7bce it works but doesn't look pretty. Is there an easier / better way to get pure 20 stack?16:32:08
@ihar.hrachyshka:matrix.orgIhar Hrachyshka(not sure I need all of these overrides, but definitely some are needed, otherwise I have rustc referring to both 20 and 21 and LTO builds failing due to mixed versions)16:33:15
@emilazy:matrix.orgemily the Rust derivation could probably rely on splicing instead of pkgsFooBar for those, but is there no way to turn off optimization flags or such to fix the LLVM 21 miscompilation instead? 16:51:25
@emilazy:matrix.orgemilyor if the cause of the miscompilation is known we could revert the commit as a patch?16:51:39
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaoh but I mean I want to enable LTO :) this is in the way. otherwise it compiles fine.16:55:07
@ihar.hrachyshka:matrix.orgIhar Hrachyshkaas-is firefox is "fine" - as in it compiles and works. only when LTO is enabled, the linker can't find some symbols for reasons. that's where I figured it's because llvm versions mixed for parts of the build - confirmed by looking at the tree of deps and the fix.16:56:49

Show newer messages


Back to Room ListRoom Version: 6