!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

705 Members
Rust157 Servers

Load older messages


SenderMessageTime
10 Feb 2026
@ret2pop:matrix.nullring.xyzret2pop changed their display name from ret2pop ⚡️ to ret2pop.22:01:38
11 Feb 2026
@denommus:matrix.orgdenommus I think I'll try with IFD, but I still need help with one thing: how do I make the flake read the .sqlx files? I couldn't find this information on Google 12:58:30
@benjaminsparks:chat.alugha.appBen Sparks Which .sqlx files are you talking about? Why should your flake have to read them?= 13:27:31
@benjaminsparks:chat.alugha.appBen Sparks * Which .sqlx files are you talking about? Why should your flake have to read them? 13:27:33
@denommus:matrix.orgdenommus they're generated by cargo sqlx prepare, and are used to validate my queries without a db connection. In theory having those files is perfect for pure builds with sqlx macros 13:28:42
@benjaminsparks:chat.alugha.appBen Sparkscan they not be added to the repository? or are they unwieldy build artifacts13:30:34
@denommus:matrix.orgdenommus that's the thing, they are in the repo, but for some reason crate2nix is not seeing them 13:35:16
@catbrained:tchncs.decatbrained (she/her)Where in the repo are they? They might get filtered out. I haven't user crate2nix myself but I think it applies some filter to the directory to figure out what to include/ignore. I've run into something similar with crane, and I had to explicitly tell it to include certain files13:50:35
@catbrained:tchncs.decatbrained (she/her) * 13:51:08
@denommus:matrix.orgdenommusyeah, I also had to be explicit with crane, hence why I'm asking how to be explicit with crate2nix. The files are in the root directory of the project14:49:29
@benjaminsparks:chat.alugha.appBen Sparkstheyre not in https://github.com/Denommus/crate2nix-sample. which is likely why the flake is not picking them up14:50:36
@benjaminsparks:chat.alugha.appBen Sparksif you've initialised your flake in a folder that represent a git repo, flakes will ignore any files that are not in that repo14:51:01
@denommus:matrix.orgdenommusthat's just a sample to show how the system breaks with rust-overlay if I'm not using IFD, it's unrelated to my actual code14:52:27
@tomasajt:matrix.orgTomaCould some people take a quick look at this fairly simple change to fetchCargoVendor to make it more robust. https://github.com/NixOS/nixpkgs/pull/486983 I think it's good to go, but I don't think it's good to merge things into staging without the approval of others.15:41:12
@robert:scs.ems.hostRobert Rose (away 12.2 & 13.2) changed their display name from Robert Rose to Robert Rose (away 12.2 & 13.2).16:26:49
@geekio:sibnsk.net@geekio:sibnsk.net left the room.18:49:27
@accelbread:matrix.orgaccelbreadhow often does Rust in nixpkgs get updated?18:55:58
@k900:0upti.meK900On unstable, usually every release unless something goes horribly wrong18:56:56
@k900:0upti.meK900On stable, never18:56:58
@niklaskorz:matrix.orgniklaskorz Pretty sure I ran into this before on one of my own packages but I forgot which 🤔 will take a look at the diff in a moment 19:13:18
@tomasajt:matrix.orgTomayeah, that was zed-editor I mentioned it in a related PR19:29:23
@tomasajt:matrix.orgTomawe fixed it by using depsExtraArgs and deleting the offending toml file19:29:48
@niklaskorz:matrix.orgniklaskorzoh right, my memory is fuzzy 😅19:31:42
12 Feb 2026
@antifuchs:asf.computerantifuchs 02:29:08
@antifuchs:asf.computerantifuchs left the room.02:29:57
@antifuchs:asf.computerantifuchs joined the room.02:33:53
@maertens:matrix.org@maertens:matrix.org left the room.10:14:25
@ulyssa:0x.badd.cafe@ulyssa:0x.badd.cafe left the room.03:17:22
@sckova:unredacted.orgsckova (he/him) joined the room.15:21:19
@sckova:unredacted.orgsckova (he/him) changed their display name from sckova to sckova (he/him).15:24:36

Show newer messages


Back to Room ListRoom Version: 6