From 850286cb9a3d010fdbbe7280721b649e2078998c Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Wed, 1 Sep 2021 18:10:41 -0400 Subject: [PATCH] buildbot: fix withPlugins buildPythonPackage started failing if there was no setup.py, so disable the build and check phases. Also, fix the package name so the python version isn't duplicated. --- pkgs/development/python-modules/buildbot/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/buildbot/default.nix b/pkgs/development/python-modules/buildbot/default.nix index 2a193cecca17..3c5db01cdb68 100644 --- a/pkgs/development/python-modules/buildbot/default.nix +++ b/pkgs/development/python-modules/buildbot/default.nix @@ -8,8 +8,13 @@ let withPlugins = plugins: buildPythonPackage { - name = "${package.name}-with-plugins"; + pname = "${package.pname}-with-plugins"; + inherit (package) version; + dontUnpack = true; + dontBuild = true; + doCheck = false; + nativeBuildInputs = [ makeWrapper ]; propagatedBuildInputs = plugins ++ package.propagatedBuildInputs;