diff options
Diffstat (limited to 'pkgs/lib/misc.nix')
-rw-r--r-- | pkgs/lib/misc.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/lib/misc.nix b/pkgs/lib/misc.nix index 21dd6d6c034..b8e49bad977 100644 --- a/pkgs/lib/misc.nix +++ b/pkgs/lib/misc.nix @@ -160,7 +160,8 @@ rec { (val!=null) && (val!=false)) (tail x))))) condList)) ; - + + # !!! This function has O(n^2) performance, so you probably don't want to use it! uniqList = {inputList, outputList ? []}: if (inputList == []) then outputList else let x=head inputList; |