!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

670 Members
Rust154 Servers

Load older messages


SenderMessageTime
4 Aug 2025
@dramforever:matrix.orgdramforeverthat makes sense17:49:54
@dramforever:matrix.orgdramforever so it's probably just a depsBuildBuild = [ buildPackages.stdenv.cc ]; 17:50:10
@dramforever:matrix.orgdramforever... should have realized nix-ros-overlay is just a thing, https://github.com/lopsided98/nix-ros-overlay/blob/develop/distros/humble/zenoh-cpp-vendor/default.nix17:52:41
@emilazy:matrix.orgemilyhttps://github.com/rust-lang/rust/issues/14491917:58:49
@emilazy:matrix.orgemily love to find rustc bugs while working on Nixpkgs 17:58:52
@kjeremy:matrix.orgkjeremy Yes it's in nativeBuildInputs but it uses qemu if I don't use buildPackages.rustPlatform.cargoSetupHook 17:59:17
@dramforever:matrix.orgdramforeverinteresting17:59:28
@dramforever:matrix.orgdramforever kjeremy: this should fix the -m64 problem 18:00:01
@dramforever:matrix.orgdramforeveryou can check the full log18:00:21
@dramforever:matrix.orgdramforeverit should say it's actually native compiling on x86_6418:00:28
@dramforever:matrix.orgdramforeverfor the build script18:00:37
@kjeremy:matrix.orgkjeremy dramforever: I'm basically trying to apply https://github.com/lopsided98/nix-ros-overlay/pull/558/ and get it to cross compile 18:00:37
@dramforever:matrix.orgdramforeverah, that makes sense18:01:42
@dramforever:matrix.orgdramforever i don't think self is spliced there 18:01:48
@dramforever:matrix.orgdramforeverunless it is18:02:02
@dramforever:matrix.orgdramforeveri am currently more confused18:05:45
@dramforever:matrix.orgdramforever kjeremy: do you have the full log? i'm not so sure about "All the environment variables LOOK correct" now 18:07:34
@emilazy:matrix.orgemilyok well18:08:54
@emilazy:matrix.orgemily overlays/overrideAttrs are immediately suspicious yeah 18:09:03
@emilazy:matrix.orgemilyI think it's not because the main package set isn't spliced and nobody knows why18:09:28
@emilazy:matrix.orgemilyand there have been like three PRs to fix it and I don't know why one isn't merged18:09:35
@emilazy:matrix.orgemilyor something18:09:37
@dramforever:matrix.orgdramforeversplicing is definitely f***ed18:09:39
@emilazy:matrix.orgemily like you need a callPackage in there 18:09:43
@dramforever:matrix.orgdramforeveri'm surprised it even got this far18:10:02
@emilazy:matrix.orgemily the cool thing about splicing is how it doesn't work at all with like foo.package = foo.override { … }; 18:10:05
@emilazy:matrix.orgemilylike it only actually helps the boring easy case18:10:17
@dramforever:matrix.orgdramforever yeah i think the entirety of overrides.nix needs a callPackage-ification or like pkgsXY-ification 18:10:50
@dramforever:matrix.orgdramforever
In reply to @emilazy:matrix.org
I think it's not because the main package set isn't spliced and nobody knows why
i think the funniest part is iirc pkgs in _module.args in nixos is spliced
18:16:57
@emilazy:matrix.orgemilywell…18:17:16

Show newer messages


Back to Room ListRoom Version: 6