| 4 Sep 2025 |
wonrax | anyone using crane know why my binary doesn’t include file names and line numbers in backtrace frames (backtrace-rs)? when i build “normally” with cargo on the host, they show up as expected | 05:02:50 |
Charles | Even in release mode? | 05:11:31 |
wonrax | yes | 05:18:33 |
wonrax | crane builds package in release mode by default I think | 05:18:50 |
wonrax | at least in the craneLib.buildPackage | 05:19:59 |
Charles | I'm asking because I'm not sure if that info is expected to be included in release builds in the first place | 05:35:10 |
Alyssa Ross | It is not | 05:59:29 |
wonrax | i have debug = true set in profile.release in Cargo.toml | 06:00:10 |
wonrax | i would expect building with nix produce the binary that bahaves the same like running cargo build --release | 06:01:53 |
wonrax | i would expect building with crane produce the binary that bahaves the same like running `cargo build --release` | 06:04:38 |
wonrax | btw I created a discussion about this https://github.com/ipetkov/crane/discussions/892 | 06:06:25 |
| FliegendeWurst changed their display name from FliegendeWurst (@GPN23) to FliegendeWurst. | 08:34:41 |
| @aidalgol:tchncs.de changed their display name from Aidan Gauland to aidalgol[m]. | 11:23:31 |
| @aidalgol:tchncs.de changed their display name from aidalgol[m] to aidalgol. | 11:24:12 |
| atagen set a profile picture. | 12:04:16 |
| atagen changed their profile picture. | 12:04:39 |
| atagen changed their profile picture. | 12:04:51 |
| 6 Sep 2025 |
| ironmoon joined the room. | 17:47:05 |
| ironmoon changed their display name from IRONM00N to ironmoon. | 17:50:11 |
dacid44 | is there a way that I can get nix/home-manager to manage stuff I would usually install with cargo install? (assuming it's not also on nixpkgs) | 19:14:59 |
Winter | package it? :) | 19:15:59 |
dacid44 | so... no? | 19:17:06 |
K900 | No | 19:23:14 |
K900 | But packaging should be trivial | 19:23:17 |
K900 | Using something like nix-init will do most of it for you | 19:23:25 |
dacid44 | oh, that looks handy | 19:34:49 |
dacid44 | I was hoping for something where I could just plug in the package name but that's not too much extra work | 19:35:26 |
dacid44 | * I was hoping for something where I could just plug in the crates.io package name but that's not too much extra work | 19:35:40 |
Alyssa Ross | Rust programs often depend on one or two non-Rust libraries, so would be difficult to 100% automate but the amount of manual work is usually very small | 19:36:42 |
dacid44 | well, could be nice to automate it in the case where it's pure Rust, which is most of the stuff I'd be cargo installing | 19:40:11 |