!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

707 Members
Rust158 Servers

Load older messages


SenderMessageTime
31 Jan 2025
@vhdirk:matrix.orgDirk Van Haerenborgh changed their display name from Dirk Van Haerenborgh to Dirk Van Haerenborgh @ FOSDEM.13:48:00
@zimbatm:numtide.comJonas Chevalier changed their display name from Jonas Chevalier to Jonas Chevalier (FOSDEM).19:12:23
@worm_with_boots:matrix.orgquin changed their display name from worm_with_boots to quin.23:00:08
1 Feb 2025
@kranzes:matrix.orgIlan Joselevich (Kranzes)I'm going to PR a new rust package and I just wanted to know if I should be using useFetchCargoVendor?17:11:49
@kranzes:matrix.orgIlan Joselevich (Kranzes) cc. Alyssa Ross 17:11:54
@qyliss:fairydust.spaceAlyssa Rossyes17:12:26
@kranzes:matrix.orgIlan Joselevich (Kranzes)even if there are no git deps?17:12:34
@qyliss:fairydust.spaceAlyssa RossfetchCargoTarball will be deprecated this staging cycle17:12:40
@qyliss:fairydust.spaceAlyssa Rossit's no longer reproducible even without git deps as of Cargo 1.8417:12:57
@kranzes:matrix.orgIlan Joselevich (Kranzes)wonderful17:13:04
@qyliss:fairydust.spaceAlyssa Rossso it's time for it to go17:13:14
@kranzes:matrix.orgIlan Joselevich (Kranzes)are there any other benefits to useFetchCargoVendor?17:13:40
@qyliss:fairydust.spaceAlyssa Rossit will never change output hash due to a rust update, and we can allow git deps with it17:15:44
@qyliss:fairydust.spaceAlyssa Rossi think that's it17:15:50
@kranzes:matrix.orgIlan Joselevich (Kranzes)not faster or anything?17:15:55
@qyliss:fairydust.spaceAlyssa Rossit's actually currently slower17:16:04
@qyliss:fairydust.spaceAlyssa Rossbut that's already been improved in staging17:16:22
2 Feb 2025
@lumbo7332:matrix.orgPopeRigby changed their display name from Pope_Rigby to PopeRigby.04:14:29
@raitobezarius:matrix.orgraitobezarius @qyliss:fairydust.space: hmm do you have a suggestion to reduce the dependencies for useFetchCargoVendor ? (Aka the Nix dependency) 10:24:47
@qyliss:fairydust.spaceAlyssa RossImplement nix-prefetch-git without nix10:25:48
@qyliss:fairydust.spaceAlyssa Rossbut there's already allowGitDependencies10:26:00
@qyliss:fairydust.spaceAlyssa Rossthe nix dependency is optional10:26:12
@tomasajt:matrix.orgTomaSomeone could reimplement fetchCargoVendor in a language, like C, but that would only get rid of the python dep. Reducing nix-prefetch-git's deps is the optimal solution.13:14:26
@k900:0upti.meK900 We basically just need an implementation of nix hash that's outside of Nix 13:16:26
@k900:0upti.meK900Jade said she had something 13:16:40
@k900:0upti.meK900But I'm out of spoons to look more13:16:55
@niklaskorz:korz.devNiklas Korzyou probably already explained it somewhere, but what would be the reason to prefer C over Rust here?13:45:33
@niklaskorz:korz.devNiklas Korzseeing you already have rustc as dependency when using buildRustPackage anyway13:45:55
@niklaskorz:korz.devNiklas KorzI guess that would need to vendor all of its dependencies to not depend on itself, but that seems like a reasonable compromise13:46:55
@niklaskorz:korz.devNiklas Korzah, not so much if the whole code is meant to live in nixpkgs I guess...13:47:50

Show newer messages


Back to Room ListRoom Version: 6