wealthfolio: directly pass cargoRoot to fetcher

This commit is contained in:
TomaSajt 2025-03-09 19:35:43 +01:00
parent 071c2273ef
commit 501b8f1c69
No known key found for this signature in database
GPG key ID: F011163C050122A1

View file

@ -36,8 +36,12 @@ stdenv.mkDerivation (finalAttrs: {
buildAndTestSubdir = finalAttrs.cargoRoot;
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname version src;
sourceRoot = "${finalAttrs.src.name}/${finalAttrs.cargoRoot}";
inherit (finalAttrs)
pname
version
src
cargoRoot
;
hash = "sha256-MmdvEutdkX98DgX1aVuxs4gabuMX5aM8yC4eqgvd8Q4=";
};