0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

opengamepadui: directly pass cargoRoot to fetcher

This commit is contained in:
TomaSajt 2025-03-09 19:54:05 +01:00
parent 6c1bc14c30
commit b67755bccd
No known key found for this signature in database
GPG key ID: F011163C050122A1

View file

@ -35,8 +35,7 @@ stdenv.mkDerivation (finalAttrs: {
}; };
cargoDeps = rustPlatform.fetchCargoVendor { cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) src; inherit (finalAttrs) src cargoRoot;
sourceRoot = "source/${finalAttrs.cargoRoot}";
hash = "sha256-T79G2bShJuFRfaCqG3IDHqW0s68yAdGyv58kdDYg6kg="; hash = "sha256-T79G2bShJuFRfaCqG3IDHqW0s68yAdGyv58kdDYg6kg=";
}; };
cargoRoot = "extensions"; cargoRoot = "extensions";