nixos/buildbot: fix type for pythonPackages

The pythonPackages option is a function that returns a list of packages, but the
type was specified as just a list of packages.
This commit is contained in:
Ben Wolsieffer 2021-01-31 17:36:28 -05:00
parent d877c9b39c
commit 945a461ac2

View File

@ -223,7 +223,7 @@ in {
};
pythonPackages = mkOption {
type = types.listOf types.package;
type = types.functionTo (types.listOf types.package);
default = pythonPackages: with pythonPackages; [ ];
defaultText = "pythonPackages: with pythonPackages; [ ]";
description = "Packages to add the to the PYTHONPATH of the buildbot process.";