top-level: Fix dontRecurseIntoAttrs and include in lib
dontRecurseIntoAttrs was a noop (x: x), causing the expression dontRecurseIntoAttrs (recurseIntoAttrs a) to have the wrong effect.
This commit is contained in:
parent
8935bfb4ac
commit
fc64cf65ab
3 changed files with 7 additions and 2 deletions
|
@ -479,6 +479,11 @@ rec {
|
|||
recurseIntoAttrs =
|
||||
attrs: attrs // { recurseForDerivations = true; };
|
||||
|
||||
/* Undo the effect of recurseIntoAttrs.
|
||||
*/
|
||||
dontRecurseIntoAttrs =
|
||||
attrs: attrs // { recurseForDerivations = false; };
|
||||
|
||||
/*** deprecated stuff ***/
|
||||
|
||||
zipWithNames = zipAttrsWithNames;
|
||||
|
|
|
@ -71,7 +71,7 @@ let
|
|||
zipAttrsWithNames zipAttrsWith zipAttrs recursiveUpdateUntil
|
||||
recursiveUpdate matchAttrs overrideExisting getOutput getBin
|
||||
getLib getDev chooseDevOutputs zipWithNames zip
|
||||
recurseIntoAttrs;
|
||||
recurseIntoAttrs dontRecurseIntoAttrs;
|
||||
inherit (lists) singleton forEach foldr fold foldl foldl' imap0 imap1
|
||||
concatMap flatten remove findSingle findFirst any all count
|
||||
optional optionals toList range partition zipListsWith zipLists
|
||||
|
|
|
@ -72,7 +72,7 @@ in
|
|||
# the Attrs which is useful for testing massive changes. Ideally,
|
||||
# every package subset not marked with recurseIntoAttrs should be
|
||||
# marked with this.
|
||||
dontRecurseIntoAttrs = x: x;
|
||||
inherit (lib) dontRecurseIntoAttrs;
|
||||
|
||||
stringsWithDeps = lib.stringsWithDeps;
|
||||
|
||||
|
|
Loading…
Reference in a new issue