Nix Rust | 676 Members | |
| Rust | 153 Servers |
| Sender | Message | Time |
|---|---|---|
| 13 Jan 2026 | ||
I mean you can skip all the cargoLock, Git hashes, etc. stuff and just specify cargoHash = ""; and then fill in the hash it gives (I think?) | 00:30:28 | |
unless build-std messes with that, which is⦠possible | 00:30:33 | |
| Was hoping to avoid the "update every time the lock file changes" issue you mentioned. Figure the nightly version is locked so the deps required for build-std should be static (?). Maybe I misunderstood your comment though. | 00:41:17 | |
| Did anyone look into this. | 10:42:27 | |
| * Did anyone look into this? | 10:50:50 | |
| 14 Jan 2026 | ||
| 11:59:58 | ||
| hey guys, I'm having a hard time to build a rust project with tikv-jemalloc-sys, does anybody else faced it before? | 18:10:31 | |
| Don't we literally have a hook for that | 18:14:06 | |
| can you link it? I'm quite new into nix/nixos | 18:19:10 | |
| tbh not even know what a hook is on nix | 18:19:34 | |
| rust-jemalloc-sys and rust-jemalloc-sys-unprefixed. Look for usages of these in nixpkgs | 18:34:10 | |
| amazing! Thank you | 18:44:52 | |
| gotta study more | 18:45:04 | |
| 22:47:23 | ||
| 15 Jan 2026 | ||
| 00:37:38 | ||
| Hello! I'm trying to package a rust program, however one of the dependent crates is failing to build due to a missing patch. This is my package.nix: https://bpa.st/LQWQ I'm getting the error: I am able to find the patch file in nix store: | 00:48:27 | |
| * Hello! I'm trying to package a rust program, however one of the dependent crates is failing to build due to a missing patch. This is my package.nix: https://bpa.st/LQWQ I'm getting the error: Error: "Error applying patch '/build/tari-5.2.0-vendor/libtor-src-47.13.0+0.4.7.13/patches/libevent-0001-libevent-makefile.patch': \"Os { code: 2, kind: NotFound, message: \\\"No such file or directory\\\" }\""I am able to find the patch file in nix store: /nix/store/109zbiqkhxnw9dpr0qazg29m4ap8p6ha-tari-5.2.0-vendor/libtor-src-47.13.0+0.4.7.13/patches, but I'm not quite sure how to tell cargo to look there. Would appreciate any help :) | 01:14:16 | |
| Redacted or Malformed Event | 01:37:24 | |
I thought maybe the directory under /nix/store differed from the actual build directory, but after running nom build .#tari --keep-failed and checking the build directory under /nix/var/nix/builds/..., the patches directory is there too. I'm really confused now where the no such file error is coming from :/ | 03:03:24 | |
| figured it out! | 06:42:43 | |
| Have not been able to get this to work using
but unfortunately get
which seems odd, as it's clearly properly locked:
Unfortunately
| 15:44:32 | |
| 21:45:52 | ||
| Hey folks! I'm trying to get miri to work on Nix Darwin. I am using rust-overlay for my devShell:
When I execute miri, it seems to believe it can't find cargo-miri:
I do still see
Anyone got any insight? | 23:55:11 | |
| 16 Jan 2026 | ||
| 00:49:58 | ||
fwiw I did pkgs.rust-bin.fromRustupToolchain { channel = "nightly"; components = ["miri" "rust-src"]; } last time I needed Miri. maybe toolchain.default.override doesn't work properly there. not sure | 02:47:25 | |
| Still doesn't work, hm | 03:13:56 | |
| I've got my miri package definitions here if it helps: [https://github.com/accelbread/flakelight-rust/tree/master/packages](miri packages) | 05:43:42 | |
| * I've got my miri package definitions here if it helps: https://github.com/accelbread/flakelight-rust/tree/master/packages | 05:43:54 | |
| Has anyone gotten build-std working with nixpkgs rustc? | 05:57:29 | |
| thank ya, I'll try this out | 15:47:28 | |