| 8 Oct 2025 |
niklaskorz | now that, on the other hand: | 21:23:13 |
niklaskorz | error[E0554]: `#![feature]` may not be used on the stable release channel
--> generic-rt/src/lib.rs:3:1
|
3 | #![feature(core_intrinsics)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| 21:23:16 |
Alyssa Ross | I'd be surprised if we end up packaging redox's downstream rustc fwiw | 21:23:47 |
Alyssa Ross | but last development update says they "just need to finish up" moving to upstream so maybe that's not too much of a concern | 21:25:05 |
| 9 Oct 2025 |
GaƩtan Lepage | I'm trying to package a python package using maturin in nixpkgs.
I use
cargoDeps = rustPlatform.fetchCargoVendor {
inherit
pname
version
src
sourceRoot
cargoRoot
;
hash = "sha256-m3SNWjHsQcrH6v8Z6CnURhuXNQRgvtGreM0g91rOv6Q=";
};
But it fails with
Executing maturinBuildHook
maturinBuildHook flags: --jobs=64 --offline --target x86_64-unknown-linux-gnu --manylinux off --strip --release --out /build/source/obstore/dist --interpreter python3.13
error: failed to load source for dependency `object_store`
Caused by:
Unable to update https://github.com/apache/arrow-rs-object-store?rev=f422dce1528ee2a089d8061af639c3f2a9cd43af#f422dce1
Caused by:
can't checkout from 'https://github.com/apache/arrow-rs-object-store': you are in the offline mode (--offline)
š„ maturin failed
The Cargo.lock has this at the end:
[[patch.unused]]
name = "object_store"
version = "0.12.2"
source = "git+https://github.com/apache/arrow-rs-object-store?rev=f422dce1528ee2a089d8061af639c3f2a9cd43af#f422dce1528ee2a089d8061af639c3f2a9cd43af";
Am I supposed to do something extra to fetch this dep? | 12:02:50 |
niklaskorz | Are you sure the fetchCargoVendor hash is up to date and not using an older version of the package's cache? | 12:04:57 |
niklaskorz | ah wait, I missed the patch.unused part | 12:05:46 |
GaƩtan Lepage | For reference, here is the PR: https://github.com/NixOS/nixpkgs/pull/450218
(obstore package) | 12:08:35 |
niklaskorz | that doesn't appear anywhere in the upstream Cargo.lock | 12:18:13 |
niklaskorz | ah, it's the obstore package that is failing, not nutpie | 12:18:36 |
niklaskorz | honestly I think the solution is just patching out these lines in Cargo.toml: | 12:19:46 |
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 |