ceph: directly pass cargoRoot to fetcher

This commit is contained in:
TomaSajt 2025-03-09 19:52:19 +01:00
parent c1d2184a49
commit e99c97f254
No known key found for this signature in database
GPG key ID: F011163C050122A1
2 changed files with 12 additions and 4 deletions

View file

@ -243,8 +243,12 @@ let
};
cargoRoot = "src/_bcrypt";
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
sourceRoot = "${pname}-${version}/${cargoRoot}";
inherit
pname
version
src
cargoRoot
;
hash = "sha256-8PyCgh/rUO8uynzGdgylAsb5k55dP9fCnf40UOTCR/M=";
};
});

View file

@ -42,8 +42,12 @@ buildPythonPackage rec {
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
sourceRoot = "${pname}-${version}/${cargoRoot}";
inherit
pname
version
src
cargoRoot
;
hash = "sha256-pZHu3Oo9DWRAtldU0UvrH1FIg0bEvyfizPUhj9IBL58=";
};