| 12 Jan 2026 |
emily | cc Toma who might have other ideas | 23:08:28 |
emily | (fwiw, I wouldn't use naersk these days, crane might be worth a look though) | 23:10:21 |
| 13 Jan 2026 |
n8henrie | Setting lockFileContents results in a complaint about cargoHash:
> ERROR: cargoHash or cargoSha256 is out of date
>
> Cargo.lock is not the same in /nix/var/nix/builds/nix-24411-1007667852/cargo-vendor-dir
Setting cargoHash = "" doesn't change the error?
Will tinker more, and will look into crane -- thanks!
| 00:29:59 |
emily | 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 |
emily | unless build-std messes with that, which is… possible | 00:30:33 |
n8henrie | 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 |
eveeifyeve | Did anyone look into this. | 10:42:27 |
eveeifyeve | * Did anyone look into this? | 10:50:50 |
| 14 Jan 2026 |
| jaen changed their profile picture. | 11:59:58 |
Diego Reis | 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 |
K900 | Don't we literally have a hook for that | 18:14:06 |
Diego Reis | can you link it? I'm quite new into nix/nixos | 18:19:10 |
Diego Reis | tbh not even know what a hook is on nix | 18:19:34 |
loudgolem | rust-jemalloc-sys and rust-jemalloc-sys-unprefixed. Look for usages of these in nixpkgs | 18:34:10 |
Diego Reis | amazing! Thank you | 18:44:52 |
Diego Reis | gotta study more | 18:45:04 |
| ttraj joined the room. | 22:47:23 |
| 15 Jan 2026 |
| bivsk joined the room. | 00:37:38 |
bivsk | 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 :)
| 00:48:27 |
bivsk | * 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 |
bivsk | Redacted or Malformed Event | 01:37:24 |
bivsk | 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 |
bivsk | figured it out! | 06:42:43 |
| 29 Oct 2021 |
| @grahamc:nixos.org set the history visibility to "world_readable". | 19:57:43 |
| @grahamc:nixos.org changed the room name to "" from "". | 19:57:43 |
| @grahamc:nixos.org changed the room topic to "" from "". | 19:57:43 |
| Server Stats Discoverer (traveler bot) joined the room. | 19:58:21 |
| Matrix Traveler (bot) joined the room. | 19:59:14 |
| Ralith joined the room. | 20:00:28 |
| @grahamc:nixos.orgchanged room power levels. | 20:00:52 |