surrealist: directly pass cargoRoot to fetcher
This commit is contained in:
parent
6d70a4ac0e
commit
071c2273ef
@ -60,8 +60,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||||
inherit (finalAttrs) src;
|
inherit (finalAttrs) src cargoRoot;
|
||||||
sourceRoot = "${finalAttrs.src.name}/${finalAttrs.cargoRoot}";
|
|
||||||
hash = "sha256-Su9ZOPIskV5poeS8pgtri+sZANBpdgnuCsQqE4WKFdA=";
|
hash = "sha256-Su9ZOPIskV5poeS8pgtri+sZANBpdgnuCsQqE4WKFdA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user