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 {
|
||||
inherit (finalAttrs) src;
|
||||
sourceRoot = "${finalAttrs.src.name}/${finalAttrs.cargoRoot}";
|
||||
inherit (finalAttrs) src cargoRoot;
|
||||
hash = "sha256-Su9ZOPIskV5poeS8pgtri+sZANBpdgnuCsQqE4WKFdA=";
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user