summary refs log tree commit diff
path: root/pkgs/lib/misc.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/lib/misc.nix')
-rw-r--r--pkgs/lib/misc.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/lib/misc.nix b/pkgs/lib/misc.nix
index 17771e1ca7b..dbf3381f0f4 100644
--- a/pkgs/lib/misc.nix
+++ b/pkgs/lib/misc.nix
@@ -165,7 +165,7 @@ rec {
              then []
              else let x = head xs;
                       y = if elem x acc then [] else [x];
-                  in go (y ++ tail xs) (y ++ acc);
+                  in y ++ go (tail xs) (y ++ acc);
     in go inputList acc;
 
   uniqListExt = {inputList, outputList ? [],