| 7 Feb 2026 |
| Šimon Brandner set a profile picture. | 16:40:42 |
denommus | naersk was indeed to blame, the path-info of a naersk package includes everything used by the build. I used crate2nix and it was much smaller. But... crate2nix has some sort of bug where I can't use rust-overlay nor fenix | 17:14:28 |
denommus | I will now try crane | 17:15:38 |
denommus | crane also has a smaller path-info | 17:48:28 |
denommus | yeah, crane produced a smaller image. It could be even smaller, but crane produces a single derivation out of the entire workspace, while crate2nix generates one derivation per crate. So I can have an image per crate in crate2nix's case. While in crane each image will have all the binaries of the crates | 18:20:42 |
denommus | so I guess I'll open an issue for crate2nix to fix the issue with fenix and rust-overlay | 18:21:03 |
Ben Sparks | The only thing that changed recently is that IFD imports can now choose their rust and cargo versions:
https://github.com/nix-community/crate2nix/pull/390
Does following this approach change with crate2nix for you? | 18:30:19 |
Ben Sparks | * The thing that would influence this, that changed recently, is that IFD imports can now choose their rust and cargo versions:
https://github.com/nix-community/crate2nix/pull/390
Does following this approach change with crate2nix for you? | 18:30:40 |
| 9 Feb 2026 |
| novedevo changed their display name from Devon to novedevo. | 18:42:35 |
| novedevo set a profile picture. | 18:43:58 |
| amadaluzia removed their profile picture. | 22:31:11 |
| amadaluzia set a profile picture. | 22:32:21 |
| 10 Feb 2026 |
| pneumatic changed their display name from ribosomerocker to pneumatic. | 10:28:50 |
denommus | I'm not using IFD | 11:29:08 |
denommus | as promised, I opened an issue: https://github.com/nix-community/crate2nix/issues/436 | 11:29:31 |
denommus | hm, it works with IFD | 11:39:27 |
| ret2pop changed their display name from ret2pop ⚡️ to ret2pop. | 22:01:38 |
| 11 Feb 2026 |
denommus | 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 |
Ben Sparks | Which .sqlx files are you talking about? Why should your flake have to read them?= | 13:27:31 |
Ben Sparks | * Which .sqlx files are you talking about? Why should your flake have to read them? | 13:27:33 |
denommus | 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 |
Ben Sparks | can they not be added to the repository? or are they unwieldy build artifacts | 13:30:34 |
denommus | that's the thing, they are in the repo, but for some reason crate2nix is not seeing them | 13:35:16 |
catbrained (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 files | 13:50:35 |
catbrained (she/her) | * | 13:51:08 |
denommus | yeah, 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 project | 14:49:29 |
Ben Sparks | theyre not in https://github.com/Denommus/crate2nix-sample.
which is likely why the flake is not picking them up | 14:50:36 |
Ben Sparks | if you've initialised your flake in a folder that represent a git repo, flakes will ignore any files that are not in that repo | 14:51:01 |
denommus | that'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 code | 14:52:27 |
Toma | Could 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 |