mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 09:02:46 +00:00
sourcehut: use recurseIntoAttrs
This commit is contained in:
parent
7e89933127
commit
c83db0cc53
|
@ -1,5 +1,5 @@
|
||||||
{ python37, openssl
|
{ python37, openssl
|
||||||
, callPackage }:
|
, callPackage, recurseIntoAttrs }:
|
||||||
|
|
||||||
# To expose the *srht modules, they have to be a python module so we use `buildPythonModule`
|
# 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`
|
# Then we expose them through all-packages.nix as an application through `toPythonApplication`
|
||||||
|
@ -25,7 +25,7 @@ let
|
||||||
scmsrht = self.callPackage ./scm.nix { };
|
scmsrht = self.callPackage ./scm.nix { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in with python.pkgs; {
|
in with python.pkgs; recurseIntoAttrs {
|
||||||
inherit python;
|
inherit python;
|
||||||
buildsrht = toPythonApplication buildsrht;
|
buildsrht = toPythonApplication buildsrht;
|
||||||
dispatchsrht = toPythonApplication dispatchsrht;
|
dispatchsrht = toPythonApplication dispatchsrht;
|
||||||
|
|
Loading…
Reference in a new issue