ruby: directly pass cargoRoot to fetcher

This commit is contained in:
TomaSajt
2025-06-03 02:20:38 +02:00
parent 8aa2633d56
commit 6d70a4ac0e
@@ -216,8 +216,7 @@ let
cargoDeps =
if yjitSupport then
rustPlatform.fetchCargoVendor {
inherit (finalAttrs) src;
sourceRoot = "${finalAttrs.pname}-${version}/${finalAttrs.cargoRoot}";
inherit (finalAttrs) src cargoRoot;
hash =
assert cargoHash != null;
cargoHash;