diff options
author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 18:30:39 +0200 |
---|---|---|
committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 22:45:50 +0200 |
commit | f6cbaeca60d641d71377050cef27f6cdf74f8b72 (patch) | |
tree | 38aefc8837d9313af949c5741070f949cb0334cc | |
parent | 0a162f4dcdab8f283d471f305735eca9a5a77003 (diff) |
lib.head: inherit from lib.lists
-rw-r--r-- | lib/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/default.nix b/lib/default.nix index 0da4361f0157e..51994b24e90d6 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -66,7 +66,7 @@ let inherit (builtins) add addErrorContext deepSeq elem elemAt genericClosure getAttr - hasAttr head isAttrs isBool isInt isList isPath isString + hasAttr isAttrs isBool isInt isList isPath isString lessThan listToAttrs pathExists readFile replaceStrings seq sub substring trace; inherit (self.trivial) id const pipe concat or and xor bitAnd bitOr bitXor @@ -94,7 +94,7 @@ let reverseList listDfs toposort sort sortOn naturalSort compareLists take drop sublist last init crossLists unique allUnique intersectLists subtractLists mutuallyExclusive groupBy groupBy' concatLists genList - length tail; + length head tail; inherit (self.strings) concatStrings concatMapStrings concatImapStrings stringLength intersperse concatStringsSep concatMapStringsSep |