!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

705 Members
Rust157 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
8 Oct 2025
@niklaskorz:matrix.orgniklaskorz you mean -Z build-std=core,alloc,compiler_builtins? 21:07:10
@niklaskorz:matrix.orgniklaskorzbecause we support those without nightly on nixpkgs now, technically21:07:57
@anders:sorby.xyzAndersthings like #[target_feature(enable = "tbm")]21:08:14
@niklaskorz:matrix.orgniklaskorzhm target_feature shouldn't require nightly though?21:10:22
@niklaskorz:matrix.orgniklaskorznow that, on the other hand:21:23:13
@niklaskorz:matrix.orgniklaskorz
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
@qyliss:fairydust.spaceAlyssa RossI'd be surprised if we end up packaging redox's downstream rustc fwiw21:23:47
@qyliss:fairydust.spaceAlyssa Rossbut last development update says they "just need to finish up" moving to upstream so maybe that's not too much of a concern21:25:05
9 Oct 2025
@glepage:matrix.orgGaé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:matrix.orgniklaskorzAre you sure the fetchCargoVendor hash is up to date and not using an older version of the package's cache?12:04:57

Show newer messages


Back to Room ListRoom Version: 6