mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
Fix bug in uniqList.
This commit is contained in:
parent
bdc0530f93
commit
8984139215
@ -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 ? [],
|
||||
|
Loading…
Reference in New Issue
Block a user