fix: remove buildInput dependency on poetry

This commit is contained in:
Phillip Cloud 2021-12-19 15:54:28 -05:00
parent 4a13d29ad2
commit 261d1d5b22
No known key found for this signature in database
GPG key ID: D908212070FD785E
2 changed files with 1 additions and 1 deletions

View file

@ -129,7 +129,6 @@ pythonPackages.callPackage
++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) pythonPackages.setuptools
++ lib.optional (!isSource) (getManyLinuxDeps fileInfo.name).pkg
++ lib.optional isDirectory buildSystemPkgs
++ lib.optional (!__isBootstrap) pythonPackages.poetry
);
propagatedBuildInputs =

View file

@ -2103,6 +2103,7 @@ self: super:
);
pendulum = super.pendulum.overridePythonAttrs (old: {
buildInputs = (old.buildInputs or []) ++ [ self.poetry ];
# Technically incorrect, but fixes the build error..
preInstall = lib.optionalString stdenv.isLinux ''
mv --no-clobber ./dist/*.whl $(echo ./dist/*.whl | sed s/'manylinux_[0-9]*_[0-9]*'/'manylinux1'/)