!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

472 Members
Rust115 Servers

Load older messages


SenderMessageTime
17 Aug 2024
@isabel:isabelroses.comisabel joined the room.12:43:16
@niko:puppygock.gaynyanbinary 🏳️‍⚧️How does the rust-overlay by oxalica compare to fenix in nix-community15:42:42
@emilazy:matrix.orgemilyit is a larger download but packages more historical versions of the toolchain15:44:41
@emilazy:matrix.orgemilyfenix can still use them but requires IFD15:44:46
@emilazy:matrix.orgemily * fenix can still use them but requires IFD for those toolchains15:44:53
@emilazy:matrix.orgemilyI forget if there are any other significant differences15:45:03
@niko:puppygock.gaynyanbinary 🏳️‍⚧️
In reply to @emilazy:matrix.org
fenix can still use them but requires IFD for those toolchains
So is Fenix only nightly (eg no stable or beta?)
16:16:12
@emilazy:matrix.orgemilyno16:16:32
@emilazy:matrix.orgemilythere is documentation on the two overlays in the Nixpkgs manual16:17:34
@emilazy:matrix.orgemilynot sure if it will answer all your questions16:17:46
@emilazy:matrix.orgemilybut they both ship stable versions16:17:48
18 Aug 2024
@me:linj.techlinjno existing update scripts work for a rust package using a cargoLock.lockFile due to git dependencies, right?05:32:07
@getchoo:matrix.orggetchoo joined the room.07:42:00
@m1cr0man:m1cr0man.comm1cr0man Hello. Is anyone else having issues with cargo-audit? I tried to set up a crane project with their quick start, but subsequently found that nix shell github:NixOS/nixpkgs/nixos-unstable#cargo-audit fails to compile. 12:07:42
@a-kenji:matrix.orga-kenji
In reply to @m1cr0man:m1cr0man.com
Hello. Is anyone else having issues with cargo-audit? I tried to set up a crane project with their quick start, but subsequently found that nix shell github:NixOS/nixpkgs/nixos-unstable#cargo-audit fails to compile.
It's not fixed on latest nixpkgs yet afaik. If you switch to a nixpkgs before the latest? staging merge it should still compile. Basically prior to rust v1.80.
12:20:56
@m1cr0man:m1cr0man.comm1cr0manAh ok, I was hoping nixos-unstable would be far enough back. Thanks :) 12:22:36
@r3vx:matrix.orgr3vx joined the room.14:17:36
@simon.brandner:envs.netŠimon BrandnerRedacted or Malformed Event16:53:46
@getchoo:matrix.orggetchoo
In reply to @me:linj.tech
no existing update scripts work for a rust package using a cargoLock.lockFile due to git dependencies, right?
nix-update-script/nix-update does support this
20:47:15
@me:linj.techlinj
In reply to @getchoo:matrix.org
nix-update-script/nix-update does support this
I does not work in my last attempt. Only the version is updated, hash and lock file remains unchanged. Do you have a working example?
22:19:43
@me:linj.techlinjand you mean mic92's nix-update, right?22:21:17
@getchoo:matrix.orggetchoolast time i recall using that was with gitbutler in nixpkgs. it updates the hit hashes as well22:24:59
@getchoo:matrix.orggetchooand yes22:25:00
@me:linj.techlinjthanks, it works now22:40:02
@me:linj.techlinjI must have made some other mistakes in the last attempt22:40:19
19 Aug 2024
@philiptaron:matrix.orgPhilip Taron (UTC-8)https://github.com/NixOS/nixpkgs/issues/334857 I was wondering about this myself.03:04:04
@emilazy:matrix.orgemilyme also03:07:18
@emilazy:matrix.orgemilyI assumed it had been around longer03:07:40
@emilazy:matrix.orgemilyI'll probably end up touching that code for We Should Improve Rust Somewhat but it seems like it should be a two line fix so maybe someone else should just do it03:08:29
@sasha:the-apothecary.clubSashanoraa.gay (she/her, ze/zir)I might look at it if I have time in the next few days03:42:29

Show newer messages


Back to Room ListRoom Version: 6