diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2020-05-11 11:08:29 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2020-06-18 10:16:57 +0200 |
commit | 986079275b4e64c1c429a3939cbce85576e30b3b (patch) | |
tree | 50d575cd3bda688a8c0d15e6284241ab3f4beeaf /lib | |
parent | 32e827b84863b86cccb3ec47058c745764550aa9 (diff) | |
download | nixpkgs-986079275b4e64c1c429a3939cbce85576e30b3b.tar nixpkgs-986079275b4e64c1c429a3939cbce85576e30b3b.tar.gz nixpkgs-986079275b4e64c1c429a3939cbce85576e30b3b.tar.bz2 nixpkgs-986079275b4e64c1c429a3939cbce85576e30b3b.tar.lz nixpkgs-986079275b4e64c1c429a3939cbce85576e30b3b.tar.xz nixpkgs-986079275b4e64c1c429a3939cbce85576e30b3b.tar.zst nixpkgs-986079275b4e64c1c429a3939cbce85576e30b3b.zip |
lib/attrsets: add getMan function
Diffstat (limited to 'lib')
-rw-r--r-- | lib/attrsets.nix | 1 | ||||
-rw-r--r-- | lib/default.nix | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/attrsets.nix b/lib/attrsets.nix index 82bea7af31f..d91d7a0cd47 100644 --- a/lib/attrsets.nix +++ b/lib/attrsets.nix @@ -469,6 +469,7 @@ rec { getBin = getOutput "bin"; getLib = getOutput "lib"; getDev = getOutput "dev"; + getMan = getOutput "man"; /* Pick the outputs of packages to place in buildInputs */ chooseDevOutputs = drvs: builtins.map getDev drvs; diff --git a/lib/default.nix b/lib/default.nix index e7f59a67abb..7387e9d9f1f 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -77,7 +77,7 @@ let genAttrs isDerivation toDerivation optionalAttrs zipAttrsWithNames zipAttrsWith zipAttrs recursiveUpdateUntil recursiveUpdate matchAttrs overrideExisting getOutput getBin - getLib getDev chooseDevOutputs zipWithNames zip + getLib getDev getMan chooseDevOutputs zipWithNames zip recurseIntoAttrs dontRecurseIntoAttrs; inherit (lists) singleton forEach foldr fold foldl foldl' imap0 imap1 concatMap flatten remove findSingle findFirst any all count |