mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
wealthfolio: directly pass cargoRoot to fetcher
This commit is contained in:
parent
071c2273ef
commit
501b8f1c69
1 changed files with 6 additions and 2 deletions
|
@ -36,8 +36,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
buildAndTestSubdir = finalAttrs.cargoRoot;
|
buildAndTestSubdir = finalAttrs.cargoRoot;
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||||
inherit (finalAttrs) pname version src;
|
inherit (finalAttrs)
|
||||||
sourceRoot = "${finalAttrs.src.name}/${finalAttrs.cargoRoot}";
|
pname
|
||||||
|
version
|
||||||
|
src
|
||||||
|
cargoRoot
|
||||||
|
;
|
||||||
hash = "sha256-MmdvEutdkX98DgX1aVuxs4gabuMX5aM8yC4eqgvd8Q4=";
|
hash = "sha256-MmdvEutdkX98DgX1aVuxs4gabuMX5aM8yC4eqgvd8Q4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue