about summary refs log tree commit diff
path: root/nixos/modules/services/continuous-integration/buildbot
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2021-01-31 17:36:28 -0500
committerBen Wolsieffer <benwolsieffer@gmail.com>2021-01-31 17:40:12 -0500
commit945a461ac217bff5e679aa14620358034796f7b4 (patch)
tree0bd6786d6da8a3c4005668978ceddd21ef693970 /nixos/modules/services/continuous-integration/buildbot
parentd877c9b39c7cba8d9f103740127e866c5f504a57 (diff)
downloadnixlib-945a461ac217bff5e679aa14620358034796f7b4.tar
nixlib-945a461ac217bff5e679aa14620358034796f7b4.tar.gz
nixlib-945a461ac217bff5e679aa14620358034796f7b4.tar.bz2
nixlib-945a461ac217bff5e679aa14620358034796f7b4.tar.lz
nixlib-945a461ac217bff5e679aa14620358034796f7b4.tar.xz
nixlib-945a461ac217bff5e679aa14620358034796f7b4.tar.zst
nixlib-945a461ac217bff5e679aa14620358034796f7b4.zip
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.
Diffstat (limited to 'nixos/modules/services/continuous-integration/buildbot')
-rw-r--r--nixos/modules/services/continuous-integration/buildbot/master.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/continuous-integration/buildbot/master.nix b/nixos/modules/services/continuous-integration/buildbot/master.nix
index af3f5f0ea1e1..a49f5f8100dc 100644
--- a/nixos/modules/services/continuous-integration/buildbot/master.nix
+++ b/nixos/modules/services/continuous-integration/buildbot/master.nix
@@ -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.";