surrealist: directly pass cargoRoot to fetcher
This commit is contained in:
@@ -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=";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user