| 4 Aug 2025 |
dramforever | oh nevermind i think the package literally is just called zenoh-cpp-vendor | 17:22:38 |
Alyssa Ross | In reply to @dramforever:matrix.org
rustPlatform.cargoSetupHook is not spliced I thought we fixed the splicing | 17:23:45 |
dramforever | nevermind i forgot to check in __splicedPackages | 17:25:11 |
dramforever | it is spliced | 17:25:13 |
emily | it's so good that we have splicing to make cross easier and less confusing | 17:25:34 |
emily | and it achieves this goal all day every day every time anyone uses it | 17:25:43 |
dramforever | kjeremy: so without the actual code we can't know for sure but if you put rustPlatform.cargoSetupHook in nativeBuildInputs it should work | 17:27:27 |
dramforever | wait ... should it? | 17:29:29 |
emily | are we sure that it's not just a missing C compiler for the build platform for build script stuff or something. idk | 17:32:36 |
dramforever | i'm not sure, but without the actual expression i can only just guess... | 17:38:13 |
dramforever | wait | 17:38:38 |
dramforever | nevermind, it probably is that | 17:38:43 |
dramforever | https://github.com/briansmith/ring/issues/2009 | 17:38:46 |
dramforever | Caused by:
process didn't exit successfully: /home/ibrahimkaan/remote-service/target/release/build/ring-bd52227bc0c72a9b/build-script-build (exit status: 1)
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
| 17:39:22 |
dramforever | why can't i reproduce this then...? | 17:39:51 |
dramforever | oooh thank you i think i got it | 17:43:37 |
dramforever | zenoh_cpp_vendor is https://github.com/ros2/rmw_zenoh/tree/rolling/zenoh_cpp_vendor | 17:43:51 |
dramforever | which is https://github.com/eclipse-zenoh/zenoh-cpp | 17:44:03 |
dramforever | which depends on https://github.com/eclipse-zenoh/zenoh-c, which build-depends on zenoh (i'm going to stop posting links), which depends on ring | 17:45:22 |
dramforever | * which depends on https://github.com/eclipse-zenoh/zenoh-c, which build-depends on zenoh (i'm going to stop posting more links), which depends on ring | 17:45:32 |
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 |