diff options
author | Andres Loeh <mail@andres-loeh.de> | 2012-07-18 16:30:57 +0200 |
---|---|---|
committer | Andres Loeh <mail@andres-loeh.de> | 2012-07-18 16:31:39 +0200 |
commit | 8984139215d5f9c768ba0b092ed8149ac096dc1e (patch) | |
tree | 382357cd3f5779fc69c5531634506ada156c922e /pkgs/lib/misc.nix | |
parent | bdc0530f93b757a1e22eb73a567665d1b08cd583 (diff) | |
download | nixpkgs-8984139215d5f9c768ba0b092ed8149ac096dc1e.tar nixpkgs-8984139215d5f9c768ba0b092ed8149ac096dc1e.tar.gz nixpkgs-8984139215d5f9c768ba0b092ed8149ac096dc1e.tar.bz2 nixpkgs-8984139215d5f9c768ba0b092ed8149ac096dc1e.tar.lz nixpkgs-8984139215d5f9c768ba0b092ed8149ac096dc1e.tar.xz nixpkgs-8984139215d5f9c768ba0b092ed8149ac096dc1e.tar.zst nixpkgs-8984139215d5f9c768ba0b092ed8149ac096dc1e.zip |
Fix bug in uniqList.
Diffstat (limited to 'pkgs/lib/misc.nix')
-rw-r--r-- | pkgs/lib/misc.nix | 2 |
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 ? [], |