mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
ceph: directly pass cargoRoot to fetcher
This commit is contained in:
parent
c1d2184a49
commit
e99c97f254
2 changed files with 12 additions and 4 deletions
|
@ -243,8 +243,12 @@ let
|
||||||
};
|
};
|
||||||
cargoRoot = "src/_bcrypt";
|
cargoRoot = "src/_bcrypt";
|
||||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||||
inherit pname version src;
|
inherit
|
||||||
sourceRoot = "${pname}-${version}/${cargoRoot}";
|
pname
|
||||||
|
version
|
||||||
|
src
|
||||||
|
cargoRoot
|
||||||
|
;
|
||||||
hash = "sha256-8PyCgh/rUO8uynzGdgylAsb5k55dP9fCnf40UOTCR/M=";
|
hash = "sha256-8PyCgh/rUO8uynzGdgylAsb5k55dP9fCnf40UOTCR/M=";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
|
@ -42,8 +42,12 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||||
inherit pname version src;
|
inherit
|
||||||
sourceRoot = "${pname}-${version}/${cargoRoot}";
|
pname
|
||||||
|
version
|
||||||
|
src
|
||||||
|
cargoRoot
|
||||||
|
;
|
||||||
hash = "sha256-pZHu3Oo9DWRAtldU0UvrH1FIg0bEvyfizPUhj9IBL58=";
|
hash = "sha256-pZHu3Oo9DWRAtldU0UvrH1FIg0bEvyfizPUhj9IBL58=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue