overrides: fix wheel derivation to use proper inputs

This commit is contained in:
Phillip Cloud 2021-01-14 12:50:04 -05:00
parent 84a5da7b59
commit 714fdf2f75

View file

@ -1273,11 +1273,9 @@ self: super:
pkgs.python3.pkgs.override {
python = self.python;
}
).wheel.overridePythonAttrs (
old: {
inherit (super.wheel) pname name version src;
}
);
).wheel.override {
inherit (self) buildPythonPackage bootstrapped-pip setuptools;
};
in
if isWheel then wheelPackage else sourcePackage;