Nix Rust | 698 Members | |
| Rust | 155 Servers |
| Sender | Message | Time |
|---|---|---|
| 15 Jan 2026 | ||
| 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 | |
| 29 Oct 2021 | ||
| 19:57:43 | ||
| 19:57:43 | ||
| 19:57:43 | ||
| 19:58:21 | ||
| 19:59:14 | ||
| 20:00:28 | ||
| 20:00:52 | ||
| 20:01:04 | ||
| 20:01:05 | ||
| 20:01:08 | ||
| Room Avatar Renderer. | 20:02:40 | |
| 20:04:36 | ||
| 20:06:27 | ||
| 20:18:19 | ||
| 20:33:22 | ||