| 29 Oct 2021 |
| siraben joined the room. | 23:30:18 |
| @grahamc:nixos.orgchanged room power levels. | 23:54:54 |
| 30 Oct 2021 |
| cole-h joined the room. | 01:06:11 |
| Emil Karlson joined the room. | 04:24:19 |
| kamadorueda joined the room. | 19:50:17 |
| 31 Oct 2021 |
| Alyssa Ross joined the room. | 08:40:32 |
| chvp joined the room. | 09:01:43 |
| Yureka (she/her) joined the room. | 10:26:01 |
| Xe Iaso changed their display name from Xe (xe/they) to Xe. | 12:48:29 |
| Xe Iaso changed their display name from Xe to lol. | 17:34:00 |
| Xe Iaso changed their display name from lol to ace. | 17:34:13 |
| Xe Iaso changed their display name from ace to Xe. | 17:34:23 |
| 1 Nov 2021 |
| niksnut joined the room. | 10:01:03 |
| 2 Nov 2021 |
| h4rdstyl3z joined the room. | 03:25:25 |
| oliver joined the room. | 19:23:35 |
| 4 Nov 2021 |
| tgunnoe joined the room. | 02:55:21 |
| 5 Nov 2021 |
| SkamDart joined the room. | 08:54:47 |
| lourkeur (nix btw) joined the room. | 18:20:38 |
| legendofmiracles joined the room. | 23:54:12 |
| 6 Nov 2021 |
| Tseb (Old) joined the room. | 09:19:35 |
SkamDart | In reply to @ralith:ralith.com to kick off topical discussion, of the assorted tools, https://github.com/kolloch/crate2nix seems to work quite nicely at the moment I'm a fan of https://github.com/nix-community/naersk but it doesn't build libraries because they don't check in a Cargo.lock which is what it exploits to make builds reproducible. My biggest qualm with the rust support in nix so far is the library integration. Everything is great for building and shipping executables but there is a lack of support for libraries in my opinion. I haven't found a workflow or tool yet that allows me to make cargo "nix aware" e.g. "cargo build" fetches build artifacts from the nix-store.
Admittedly, I only understand the rust build system and dependency management at a high level so I don't know how feasible this would be.
| 21:11:40 |
| SkamDart changed their display name from Cameron to SkamDart. | 21:12:36 |
Ralith | a lockfile wouldn't really make sense, since it would inevitably be inconsistent with whatever a dependency needs | 21:15:26 |
figsoda | buildRustPackage works pretty well too
cargoLock.lockFile is really useful outside of nixpkgs | 22:03:30 |
figsoda |
I haven't found a workflow or tool yet that allows me to make cargo "nix aware" e.g. "cargo build" fetches build artifacts from the nix-store.
https://github.com/kolloch/crate2nix or https://github.com/cargo2nix/cargo2nix might be what you want
| 22:06:31 |
figsoda | or buildRustCrate and carnix | 22:07:31 |
SkamDart | figsoda Thanks for pointing out my lack of specification. I was implicitly referring to during development and across machines. One of the great things about using nix for C,C++, and Haskell what I believe the Rust ecosystem is currently lacking, is dependencies are pulled from the nix-store and not recompiled between projects, nix-builds, and development. Does help clarify? | 23:47:26 |
| 7 Nov 2021 |
legendofmiracles | Any reason why rust_Packages_1_45 was removed? I ran into a package today that would have needed it, if the fix wouldn’t have been trivial | 01:25:12 |
hexa | the last package to use it was firefox 78, so when I removed that due to being EOL I also removed rustPackages_1_45 | 01:29:58 |
hexa | * the last package to use it was firefox 78, so when I removed that due to it being EOL I also removed rustPackages_1_45 | 01:30:09 |