lib/attrsets: add getMan function
This commit is contained in:
parent
32e827b848
commit
986079275b
|
@ -469,6 +469,7 @@ rec {
|
||||||
getBin = getOutput "bin";
|
getBin = getOutput "bin";
|
||||||
getLib = getOutput "lib";
|
getLib = getOutput "lib";
|
||||||
getDev = getOutput "dev";
|
getDev = getOutput "dev";
|
||||||
|
getMan = getOutput "man";
|
||||||
|
|
||||||
/* Pick the outputs of packages to place in buildInputs */
|
/* Pick the outputs of packages to place in buildInputs */
|
||||||
chooseDevOutputs = drvs: builtins.map getDev drvs;
|
chooseDevOutputs = drvs: builtins.map getDev drvs;
|
||||||
|
|
|
@ -77,7 +77,7 @@ let
|
||||||
genAttrs isDerivation toDerivation optionalAttrs
|
genAttrs isDerivation toDerivation optionalAttrs
|
||||||
zipAttrsWithNames zipAttrsWith zipAttrs recursiveUpdateUntil
|
zipAttrsWithNames zipAttrsWith zipAttrs recursiveUpdateUntil
|
||||||
recursiveUpdate matchAttrs overrideExisting getOutput getBin
|
recursiveUpdate matchAttrs overrideExisting getOutput getBin
|
||||||
getLib getDev chooseDevOutputs zipWithNames zip
|
getLib getDev getMan chooseDevOutputs zipWithNames zip
|
||||||
recurseIntoAttrs dontRecurseIntoAttrs;
|
recurseIntoAttrs dontRecurseIntoAttrs;
|
||||||
inherit (lists) singleton forEach foldr fold foldl foldl' imap0 imap1
|
inherit (lists) singleton forEach foldr fold foldl foldl' imap0 imap1
|
||||||
concatMap flatten remove findSingle findFirst any all count
|
concatMap flatten remove findSingle findFirst any all count
|
||||||
|
|
Loading…
Reference in New Issue