diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2019-10-02 15:15:31 -0400 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2019-10-02 23:40:47 -0400 |
commit | c83db0cc536a1ed604f5d9b6e316d943f76ffcac (patch) | |
tree | 91e62af7db2cefff09f07535be2e535811b1ef5c | |
parent | 7e89933127d46fd0faa22582c8dec62babd4e278 (diff) | |
download | nixlib-c83db0cc536a1ed604f5d9b6e316d943f76ffcac.tar nixlib-c83db0cc536a1ed604f5d9b6e316d943f76ffcac.tar.gz nixlib-c83db0cc536a1ed604f5d9b6e316d943f76ffcac.tar.bz2 nixlib-c83db0cc536a1ed604f5d9b6e316d943f76ffcac.tar.lz nixlib-c83db0cc536a1ed604f5d9b6e316d943f76ffcac.tar.xz nixlib-c83db0cc536a1ed604f5d9b6e316d943f76ffcac.tar.zst nixlib-c83db0cc536a1ed604f5d9b6e316d943f76ffcac.zip |
sourcehut: use recurseIntoAttrs
-rw-r--r-- | pkgs/applications/version-management/sourcehut/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/version-management/sourcehut/default.nix b/pkgs/applications/version-management/sourcehut/default.nix index 00a3cf271113..3fa5399c2b56 100644 --- a/pkgs/applications/version-management/sourcehut/default.nix +++ b/pkgs/applications/version-management/sourcehut/default.nix @@ -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; |