surrealist: directly pass cargoRoot to fetcher

This commit is contained in:
TomaSajt
2025-06-03 02:20:39 +02:00
parent 6d70a4ac0e
commit 071c2273ef
+1 -2
View File
@@ -60,8 +60,7 @@ stdenv.mkDerivation (finalAttrs: {
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) src;
sourceRoot = "${finalAttrs.src.name}/${finalAttrs.cargoRoot}";
inherit (finalAttrs) src cargoRoot;
hash = "sha256-Su9ZOPIskV5poeS8pgtri+sZANBpdgnuCsQqE4WKFdA=";
};