surrealist: directly pass cargoRoot to fetcher

This commit is contained in:
TomaSajt 2025-03-09 19:40:29 +01:00
parent 6d70a4ac0e
commit 071c2273ef
No known key found for this signature in database
GPG Key ID: F011163C050122A1

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=";
};