!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

672 Members
Rust154 Servers

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


SenderMessageTime
17 Jan 2026
@marienz:matrix.orgMarien ZwartI don't think you can reasonably do this unless you can get the upstream build system to export its build graph, but unless that build system is something like bazel that also focuses on reproducible builds I doubt it's practical (...and the natural way of consuming that exported graph would be IFD so it still wouldn't work in nixpkgs)07:14:22
@eveeifyeve:matrix.orgeveeifyeve
In reply to @charles:computer.surgery
nix can't do incremental builds, it can only build complete derivations
Wasn’t there a plan for this?
13:23:07
@theo-paris:matrix.org@theo-paris:matrix.orgIt seems that mainline m1n1 doesn't build within nixpkgs, with the src overriden to this commit specifically https://github.com/HoolockLinux/m1n1/commit/19d973c873ad3f5396a23faaeb721b305b3d3cc1. It complains about a missing vendored uuid dependency and a missing .cargo-checksum.json. I'm not sure how to properly fix this since it is not using buildRustPackage because it uses a makefile with mixed C/Rust sources21:01:07
@theo-paris:matrix.org@theo-paris:matrix.org* It seems that mainline m1n1 doesn't build within nixpkgs, with the src overriden to this commit specifically https://github.com/HoolockLinux/m1n1/commit/19d973c873ad3f5396a23faaeb721b305b3d3cc1. It complains about a missing vendored uuid dependency and a missing .cargo-checksum.json. I'm not sure how to properly fix this since it is not using buildRustPackage because it uses a makefile with mixed C/Rust sources. Any ideas?21:01:21
@theo-paris:matrix.org@theo-paris:matrix.org I figured it out. Using cargoRoot = "rust" + cargoDeps + fetchCargoVendor seems to work. 21:06:52
@angleangleside:matrix.orgasa joined the room.22:10:04

Show newer messages


Back to Room ListRoom Version: 6