1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

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.
This commit is contained in:
Ben Wolsieffer 2021-09-01 18:10:41 -04:00 committed by Tim Steinbach
parent 98a3230afa
commit 850286cb9a

View file

@ -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;