diff options
Diffstat (limited to 'lib/lists.nix')
-rw-r--r-- | lib/lists.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lists.nix b/lib/lists.nix index 194e1c200ec9..231c2317c0c4 100644 --- a/lib/lists.nix +++ b/lib/lists.nix @@ -101,7 +101,7 @@ rec { concatMap (x: [x] ++ ["z"]) ["a" "b"] => [ "a" "z" "b" "z" ] */ - concatMap = f: list: concatLists (map f list); + concatMap = builtins.concatMap or (f: list: concatLists (map f list)); /* Flatten the argument into a single list; that is, nested lists are spliced into the top-level lists. |