Skip to content

Commit

Permalink
ruby: useFetchCargoVendor (#377545)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Jan 29, 2025
2 parents d5866b9 + e24c43c commit ee8e4e6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkgs/development/interpreters/ruby/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,10 @@ let

cargoDeps =
if yjitSupport then
rustPlatform.fetchCargoTarball {
rustPlatform.fetchCargoVendor {
inherit (finalAttrs) src;
sourceRoot = "${finalAttrs.pname}-${version}/${finalAttrs.cargoRoot}";
allowGitDependencies = false;
hash =
assert cargoHash != null;
cargoHash;
Expand Down Expand Up @@ -431,18 +432,18 @@ in
ruby_3_2 = generic {
version = rubyVersion "3" "2" "6" "";
hash = "sha256-2ctl7N8/GGaWOfJji2M3ntb7sX2Trk5ybU6yv2ikg3A=";
cargoHash = "sha256-6du7RJo0DH+eYMOoh3L31F3aqfR5+iG1iKauSV1uNcQ=";
cargoHash = "sha256-CMVx5/+ugDNEuLAvyPN0nGHwQw6RXyfRsMO9I+kyZpk=";
};

ruby_3_3 = generic {
version = rubyVersion "3" "3" "6" "";
hash = "sha256-jcSP/68nD4bxAZBT8o5R5NpMzjKjZ2CgYDqa7mfX/Y0=";
cargoHash = "sha256-GeelTMRFIyvz1QS2L+Q3KAnyQy7jc0ejhx3TdEFVEbk=";
cargoHash = "sha256-xE7Cv+NVmOHOlXa/Mg72CTSaZRb72lOja98JBvxPvSs=";
};

ruby_3_4 = generic {
version = rubyVersion "3" "4" "1" "";
hash = "sha256-PTheXSLTaLBkyBehPtjjzD9xp3BdftG654ATwzqnyH8=";
cargoHash = "sha256-kdfNY8wVmSRR+cwEDYge/HDPRvdTNKLk/BhgqQeelOg=";
cargoHash = "sha256-5Tp8Kth0yO89/LIcU8K01z6DdZRr8MAA0DPKqDEjIt0=";
};
}

0 comments on commit ee8e4e6

Please sign in to comment.