!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

657 Members
Rust154 Servers

Load older messages


SenderMessageTime
23 Sep 2025
@freexploit:trafkin.com@freexploit:trafkin.com left the room.20:38:10
@JRoll506:matrix.orgRyanBruno joined the room.22:22:36
25 Sep 2025
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️ removed their profile picture.16:30:49
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️ set a profile picture.16:35:19
26 Sep 2025
@eljamm:matrix.orgeljamm Does anyone know why this deps hash mismatch is happening on darwin? 08:47:01
@dramforever:matrix.orgdramforever

gdscript-formatter depends on a fork of tree-sitter-gdscript, which has both the bindings/swift/TreeSitterGdscript directory and bindings/swift/TreeSitterGDscript directory

https://github.com/NathanLovato/tree-sitter-gdscript/tree/gdquest/GDScript-formatter/bindings/swift

09:36:53
@dramforever:matrix.orgdramforeversince macos is case insensitive, this is not possible and the files involved forced to overwrite each other09:37:20
@k900:0upti.meK900Mmmm casehacj09:37:48
@k900:0upti.meK900 * 09:37:52
@saiko:knifepoint.net@saiko:knifepoint.netcase sensitive store when 🫠09:39:49
@eljamm:matrix.orgeljammThanks for figuring it out! Is there a way for working around this, perhaps? Is it possible to override the dependency and delete that directory?09:49:51
@yusufraji49:matrix.orgYusuf Raji set a profile picture.13:41:36
27 Sep 2025
@dramforever:matrix.orgdramforever check out postFetch 13:16:56
@dramforever:matrix.orgdramforeverunrelatedly13:16:58
@dramforever:matrix.orgdramforeverevery time i look at rust-hypervisor-firmware i wonder how it could possibly work13:17:14
@dramforever:matrix.orgdramforeverhow do you even build it13:20:07
@rosscomputerguy:matrix.orgTristan RossIs there a modern example of doing UEFI things in Rust with Nix? Everything I see is 4 years old and looks like it wouldn't work.20:51:44
@utdemir:matrix.orgutdemir joined the room.21:31:28
@utdemir:matrix.orgutdemir

Hey - I'm building a Rust application (on a Mac with { system = x86_64-linux } using a linux builder) using crate2nix and on the final executable I'm seeing a dependency to rust-minimal-1.85.0 - which then pulls in a lot of development tooling. Is there any flag etc. I can set to reduce the dependencies?

Sorry I don't have an example I can show - but practically it's not much different than the hello-world example on their repo.

21:34:34
@dramforever:matrix.orgdramforever
In reply to @utdemir:matrix.org

Hey - I'm building a Rust application (on a Mac with { system = x86_64-linux } using a linux builder) using crate2nix and on the final executable I'm seeing a dependency to rust-minimal-1.85.0 - which then pulls in a lot of development tooling. Is there any flag etc. I can set to reduce the dependencies?

Sorry I don't have an example I can show - but practically it's not much different than the hello-world example on their repo.

you can try to figure out why with nix why-depends --precise your-store-path unwanted-dependency
21:37:30
@utdemir:matrix.orgutdemir
/kwnixzwqizv8701i7rj8lfqs6s0wm6hc-crate-monotone-api-0.1.0-bin
└───bin/monotone-api: …3.1/src/header/map.rs/nix/store/5h1cbigspbf8i1wa7f4h63v6jdmynwas-rust-minimal-1.85.0/lib/rustlib…
    → /5h1cbigspbf8i1wa7f4h63v6jdmynwas-rust-minimal-1.85.0

Looks like debugging symbols to me (src/header/map.rs etc.)

21:39:27
@utdemir:matrix.orgutdemir *

Hey - I'm building a Rust application (on a Mac with { system = x86_64-linux } using a linux builder) using cargo2nix and on the final executable I'm seeing a dependency to rust-minimal-1.85.0 - which then pulls in a lot of development tooling. Is there any flag etc. I can set to reduce the dependencies?

Sorry I don't have an example I can show - but practically it's not much different than the hello-world example on their repo.

21:42:29
@utdemir:matrix.orgutdemir Hmm - apparently a stdenv.isDarwin check that disables debugging symbols ends up being true even though I thought I passed a nixpkgs with a linux system. That might be it - trying to figure out how to override it now. 21:44:26
@rosssmyth:matrix.orgrosssmyth You can also try using removeReferencesTo 21:57:18
28 Sep 2025
@dramforever:matrix.orgdramforeverrequest for taking-a-look-if-you're-feeling-like-it (RFTALIYFLI) https://github.com/NixOS/nixpkgs/pull/446668 17:06:12
@dramforever:matrix.orgdramforeverScreenshot_20250929_010639.png
Download Screenshot_20250929_010639.png
17:06:54
29 Sep 2025
@ptramo:matrix.orgPierre Carrier joined the room.20:01:56
@ptramo:matrix.orgPierre Carrierhi! trying to build a project with crate2nix and I need to set an env var for one of the packages in the workspace. is that possible?20:02:36
@k900:0upti.meK900 I don't think crate2nix is really actively maintained 20:16:36
@ptramo:matrix.orgPierre Carrier@k900 any good alternatives?20:23:51

Show newer messages


Back to Room ListRoom Version: 6