!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

586 Members
Rust129 Servers

Load older messages


SenderMessageTime
24 May 2025
@fromtheeast:matrix.orgfromtheeast710can you point me to the docs or an example?06:52:33
@k900:0upti.meK900https://github.com/oxalica/rust-overlay06:55:05
@fromtheeast:matrix.orgfromtheeast710 rust = pkgs.rust-bin.stable.latest.minimal; works 06:59:21
26 May 2025
@entheogenesis:matrix.org@entheogenesis:matrix.org left the room.03:58:59
@federicodschonborn:matrix.orgThe Worm 🏳️‍🌈 (he/they) changed their display name from This LEGO® Worm™ is licensed under the terms of the he/him or they/them pronouns, at your choice to LEGO® Worm™ (Asbestos Flavored!).13:15:57
@robert:scs.ems.hostRobert Rose changed their display name from Robert Rose to Robert Rose (🏖️ -> 31.05.15:05:39
@alisonjenkins:matrix.orgAlison Jenkins joined the room.18:54:13
27 May 2025
@apeioo:matrix.orgLorenz joined the room.11:05:09
@federicodschonborn:matrix.orgThe Worm 🏳️‍🌈 (he/they) changed their display name from LEGO® Worm™ (Asbestos Flavored!) to LEGO® Worm™ (Now Only 1 krad!).14:46:16
29 May 2025
@oscarvarto:matrix.orgOscar Vargas Torres joined the room.04:26:54
1 Jun 2025
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️ warning: be sure to add /home/nyan/.cargo/bin to your PATH to be able to run the installed binaries 00:02:31
@niko:nyanbinary.rsnyanbinary 🏳️‍⚧️how can one do this in a flake :p00:02:37
@charles:computer.surgeryCharles what you should actually do is package the software with nix as usual and never use cargo install 00:52:47
@nickorta12:matrix.orgnorta joined the room.01:39:49
@mjolnir:nixos.orgNixOS Moderation Bot unbanned @mightyiam:matrix.org@mightyiam:matrix.org.22:58:07
@jeancaspar:matrix.orgjeancaspar joined the room.23:33:14
@seanthw:matrix.orgSean Thawe joined the room.23:38:36
2 Jun 2025
@robert:scs.ems.hostRobert Rose changed their display name from Robert Rose (🏖️ -> 31.05 to Robert Rose.07:30:15
@mmkaram:matrix.orgmmkaramRedacted or Malformed Event08:47:16
@deeok:matrix.org@deeok:matrix.org joined the room.13:25:26
@skoove:catgirl.cloudskoove joined the room.21:17:06
3 Jun 2025
@tomasajt:matrix.orgTomahttps://github.com/NixOS/nixpkgs/pull/373541 Constantly fixing all the merge conflicts on this PR is getting tiring, I'd appreciate it if someone reviewed it and merged it. I have reduced the changes to not cause any rebuilds other than the docs. I intend to backport this.00:24:10
@sefodopo:matrix.orgSefodopo joined the room.01:31:07
@k900:0upti.meK900 Sending it 05:40:58
@tomasajt:matrix.orgTomaThank you :)10:14:34
@federicodschonborn:matrix.orgThe Worm 🏳️‍🌈 (he/they) changed their display name from LEGO® Worm™ (Now Only 1 krad!) to LEGO® Worm™ (he/they) (Happy Pride Month! 🏳️‍🌈).22:43:03
4 Jun 2025
@x10an14:matrix.orgx10an14

After we replaced the Cargo.lock files in nixpkgs with cargoHash, I've not come across any package that actually prints out the correct hash that cargoHash is missing if I replace src.rev (or just source in general).

Is this currently broken in Nixpkgs? Anyone got an example of a package this works for? I find this applies to me both with callPackage and overrideAttrs.

Examples being thumbs, nufmt, and even kickoff (which does implement finalAttrs)

15:24:13
@x10an14:matrix.orgx10an14 *that cargoHash is missing expects.. 15:25:01
@k900:0upti.meK900 Overrides are weird, you need to override cargoDeps 16:22:11
@x10an14:matrix.orgx10an14
In reply to @k900:0upti.me
Overrides are weird, you need to override cargoDeps

I tried, even then I couldn't get a nix build to tell me the correct cargoHash.

The only way I managed to update/edit source was to not set cargoHash, only cargoDeps.lockFile, and using callPackage.

17:02:26

Show newer messages


Back to Room ListRoom Version: 6