diff --git a/lib/packages.nix b/lib/packages.nix index 56c94a5..e13f9da 100644 --- a/lib/packages.nix +++ b/lib/packages.nix @@ -1,9 +1,9 @@ { nixpkgs, ... }: let - inherit (builtins) any filter; + inherit (builtins) elem filter; inherit (nixpkgs.lib.strings) getName; in { remove = nameList: pkgList: - filter (pkg: !any (elem: getName pkg == elem) nameList) pkgList; + filter (pkg: !elem (getName pkg) nameList) pkgList; }