9 lines
191 B
Nix
9 lines
191 B
Nix
{ nixpkgs, ... }:
|
|
|
|
let
|
|
inherit (builtins) elem filter;
|
|
inherit (nixpkgs.lib.strings) getName;
|
|
in {
|
|
remove = nameList: pkgList:
|
|
filter (pkg: !elem (getName pkg) nameList) pkgList;
|
|
}
|