1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

sourcehut: use recurseIntoAttrs

This commit is contained in:
Dmitry Kalinkin 2019-10-02 15:15:31 -04:00
parent 7e89933127
commit c83db0cc53
No known key found for this signature in database
GPG key ID: 06AF1D3C38F04E0E

View file

@ -1,5 +1,5 @@
{ python37, openssl
, callPackage }:
, callPackage, recurseIntoAttrs }:
# To expose the *srht modules, they have to be a python module so we use `buildPythonModule`
# Then we expose them through all-packages.nix as an application through `toPythonApplication`
@ -25,7 +25,7 @@ let
scmsrht = self.callPackage ./scm.nix { };
};
};
in with python.pkgs; {
in with python.pkgs; recurseIntoAttrs {
inherit python;
buildsrht = toPythonApplication buildsrht;
dispatchsrht = toPythonApplication dispatchsrht;