| 30 Mar 2026 |
dish [Fox/It/She] | I believe buildAndTestSubdir is the intended way to build a single binary | 03:08:14 |
Charles | so my question kinda implies that i know that cargo can do this on its own, in addition to explicitly asking how to do this in the context of buildRustPackage. how do you suggest i do what you are telling me to do, precisely, in terms of, say, some example nix code? | 03:09:18 |
eveeifyeve | cargoBuildFlags = [ "--package <package>" ]; & cargoTestFlags = [ "--package <package>" ];? | 03:10:57 |
eveeifyeve | But also the suggestion from dish [Fox/It/She] works as well. | 03:11:37 |
Charles | okay, so maybe just lead with that next time instead of basically repeating my question back at me | 03:11:36 |
Charles | should i elaborate/rephrase? | 03:14:26 |
| @alto:private.coffee left the room. | 13:39:37 |
| 31 Mar 2026 |
| raf joined the room. | 11:22:18 |
| ryo changed their profile picture. | 13:16:33 |
| 1 Apr 2026 |
azban | This package's build scripts clones a repo to the OUT_DIR https://github.com/isar-community/isar-community/blob/4c2cd02d4e5c17b7edca89d141d1729ddc1698ff/packages/mdbx_sys/build.rs#L60-L62
Is there a clever way to do this? All that I can think of is to copy the files, set an env var that specifies that directory, and add a patch to not clone the repo, and to look for that env var. | 01:00:55 |
| Azad Satkarni changed their display name from 7karni to Azad Satkarni. | 06:40:38 |
Alyssa Ross | Send them a PR to do something better | 06:46:37 |
Alyssa Ross | Generally with a -sys crate it's a good idea to have some way to provide an already-compiled library so it can be built with whatever options the packaging system likes to use. | 06:47:49 |
Alyssa Ross | You can demonstrate this if upstream is unaware by pointing to any of the popular -sys crates. | 06:48:06 |
| @onur-ozkan:matrix.org left the room. | 08:18:11 |
| 3 Apr 2026 |
| @mkapra:kapra.de left the room. | 16:47:20 |
| 5 Apr 2026 |
| ritiek changed their profile picture. | 01:17:52 |
| 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 |
| @grahamc:nixos.org invited NixOS Moderation Bot. | 20:01:04 |
| NixOS Moderation Bot joined the room. | 20:01:05 |
| @grahamc:nixos.orgchanged room power levels. | 20:01:08 |
| Room Avatar Renderer. | 20:02:40 |
| hexa joined the room. | 20:04:36 |
| ash (it/its) 🏳️⚧️ joined the room. | 20:06:27 |