| 9 Oct 2025 |
niklaskorz | https://github.com/developmentseed/obstore/blob/fbaeb7fa772f21e9b8f54b7eeb1f19a3f5b07336/Cargo.toml#L41-L42 | 12:19:57 |
Gaétan Lepage | Remove them you mean? | 12:20:16 |
niklaskorz | yes, or maybe see what upstream commit removed them | 12:20:29 |
niklaskorz | because master doesn't have those anymore | 12:20:33 |
niklaskorz | * because main doesn't have those anymore | 12:20:43 |
niklaskorz | they removed them as part of https://github.com/developmentseed/obstore/commit/7cff737f4d86eeee8ddeb69bca47aecbfd997065#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542 | 12:21:24 |
niklaskorz | * they removed them as part of https://github.com/developmentseed/obstore/commit/7cff737f4d86eeee8ddeb69bca47aecbfd997065 | 12:21:30 |
niklaskorz | not sure if that cleanly applies to 0.8.2 | 12:21:51 |
Gaétan Lepage | Removing the last lines doesn't help unfortunately... I still get the same error. | 12:33:31 |
niklaskorz | hm my next best bet would be removing it from both Cargo.toml and Cargo.lock, don't have time to check myself right now unfortunately | 13:16:51 |
| Banana Poop set a profile picture. | 14:49:08 |
| Banana Poop changed their profile picture. | 14:50:08 |
| Banana Poop changed their profile picture. | 14:54:28 |
dacid44 | do you guys often have issues with nix develop, namely rust-analyzer running outside of it and invalidating a bunch of the incremental compilation? | 15:58:53 |
| @notgne2:wizbos.club left the room. | 19:56:50 |
Toma | I have been on bit of a break lately, but I remembered that I really wanted to have
https://github.com/NixOS/nixpkgs/pull/387337
be part of the next release | 21:12:26 |
Toma |
Since it's a breaking change there is a stricter time limit for it getting merged | 21:12:35 |
Toma | Also, it has like 27 likes, so I guess it should be considered pretty important to have | 21:13:10 |
Gaétan Lepage | Thanks for the help niklaskorz! | 23:28:10 |
| 11 Oct 2025 |
Anders | I am trying to fix packaging for relibc so that cross compilation to RedoxOS can be enabled again. But I run into trouble when I try to make all:
error occurred: Failed to find tool. Is x86_64-linux-gnu-gcc installed? I am not cross compiling so how do I fix this? | 10:29:11 |
Anders | Also, how do I correctly include a git submodule when doing a src = ./. import? | 10:32:24 |
rosssmyth | it is hard to say anything without seeing code | 15:47:38 |
Anders | I got it working | 15:48:03 |
Anders | But now I have an issue with what I assume is mismatched toolchains | 15:48:31 |
Anders | relibc-latest> cargo rustc --release -Z build-std=core,alloc,compiler_builtins --target=x86_64-unknown-linux-gnu -- --emit link=/build/source/target/x86_64-unknown-linux-gnu/release/librelibc.a
relibc-latest> error: failed to select a version for the requirement `cfg-if = "^1.0"` (locked to 1.0.1)
relibc-latest> candidate versions found which didn't match: 1.0.3
relibc-latest> location searched: directory source `/build/cargo-vendor-dir` (which is replacing registry `crates-io`)
relibc-latest> required by package `std v0.0.0 (/nix/store/xfljfal6ycn3q5m93v8ycc3qvwn46i8j-rust-nightly-2025-10-03/lib/rustlib/src/rust/library/std)`
relibc-latest> ... which satisfies path dependency `std` (locked to 0.0.0) of package `sysroot v0.0.0 (/nix/store/xfljfal6ycn3q5m93v8ycc3qvwn46i8j-rust-nightly-2025-10-03/lib/rustlib/src/rust/library/sysroot)`
| 15:49:10 |
Anders | So my cargo.lock insists on using 1.0.3 while std needs 1.0.1. Why can't it resolve this? Can I force this somehow? | 15:50:37 |
Anders | The code can be found here https://tangled.org/@anders.sorby.xyz/relibc/tree/add-nix-build if anyone is interested | 16:55:39 |
| 13 Oct 2025 |
Anders | Bear in mind I am a self thaught professional developer who is relatively new to rust and c build systems. I have opened a thread on discourse too https://discourse.nixos.org/t/rust-building-and-resolving-cfg-if/70793 | 14:48:09 |
Anders | I tracked it down to the unstable feature build-std https://doc.rust-lang.org/cargo/reference/unstable.html#build-std | 15:00:52 |
Anders | Removing that solved the issue | 15:01:06 |