| 4 Aug 2025 |
emily | and this is a build.rs dep? | 17:46:00 |
dramforever | indirect dep of zenoh-c's build.rs, i think | 17:46:54 |
dramforever | if only i can find where it is | 17:46:58 |
dramforever | so this package might just literally not be cross-able | 17:47:30 |
dramforever | oh, i misread | 17:49:08 |
dramforever | zenoh-c has zenoh in both dependencies and build-dependencies | 17:49:22 |
dramforever | that makes sense | 17:49:54 |
dramforever | so it's probably just a depsBuildBuild = [ buildPackages.stdenv.cc ]; | 17:50:10 |
dramforever | ... 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.nix | 17:52:41 |
emily | https://github.com/rust-lang/rust/issues/144919 | 17:58:49 |
emily | love to find rustc bugs while working on Nixpkgs | 17:58:52 |
kjeremy | Yes it's in nativeBuildInputs but it uses qemu if I don't use buildPackages.rustPlatform.cargoSetupHook | 17:59:17 |
dramforever | interesting | 17:59:28 |
dramforever | kjeremy: this should fix the -m64 problem | 18:00:01 |
dramforever | you can check the full log | 18:00:21 |
dramforever | it should say it's actually native compiling on x86_64 | 18:00:28 |
dramforever | for the build script | 18:00:37 |
kjeremy | 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 | ah, that makes sense | 18:01:42 |
dramforever | i don't think self is spliced there | 18:01:48 |
dramforever | unless it is | 18:02:02 |
dramforever | i am currently more confused | 18:05:45 |
dramforever | kjeremy: do you have the full log? i'm not so sure about "All the environment variables LOOK correct" now | 18:07:34 |
emily | ok well | 18:08:54 |
emily | overlays/overrideAttrs are immediately suspicious yeah | 18:09:03 |
emily | I think it's not because the main package set isn't spliced and nobody knows why | 18:09:28 |
emily | and there have been like three PRs to fix it and I don't know why one isn't merged | 18:09:35 |
emily | or something | 18:09:37 |
dramforever | splicing is definitely f***ed | 18:09:39 |
emily | like you need a callPackage in there | 18:09:43 |