nixos/pantheon: Switch notExcluded to disablePackageByName
Previously, this check was inconsistent with `removePackagesByName` – the latter compares the packages using their names.
This commit is contained in:
@@ -12,7 +12,7 @@ let
|
||||
extraGSettingsOverrides = cfg.extraGSettingsOverrides;
|
||||
};
|
||||
|
||||
notExcluded = pkg: (!(lib.elem pkg config.environment.pantheon.excludePackages));
|
||||
notExcluded = pkg: utils.disablePackageByName pkg config.environment.pantheon.excludePackages;
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user