mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
fix: remove buildInput dependency on poetry
This commit is contained in:
parent
4a13d29ad2
commit
261d1d5b22
2 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,6 @@ pythonPackages.callPackage
|
||||||
++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) pythonPackages.setuptools
|
++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) pythonPackages.setuptools
|
||||||
++ lib.optional (!isSource) (getManyLinuxDeps fileInfo.name).pkg
|
++ lib.optional (!isSource) (getManyLinuxDeps fileInfo.name).pkg
|
||||||
++ lib.optional isDirectory buildSystemPkgs
|
++ lib.optional isDirectory buildSystemPkgs
|
||||||
++ lib.optional (!__isBootstrap) pythonPackages.poetry
|
|
||||||
);
|
);
|
||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
|
|
|
@ -2103,6 +2103,7 @@ self: super:
|
||||||
);
|
);
|
||||||
|
|
||||||
pendulum = super.pendulum.overridePythonAttrs (old: {
|
pendulum = super.pendulum.overridePythonAttrs (old: {
|
||||||
|
buildInputs = (old.buildInputs or []) ++ [ self.poetry ];
|
||||||
# Technically incorrect, but fixes the build error..
|
# Technically incorrect, but fixes the build error..
|
||||||
preInstall = lib.optionalString stdenv.isLinux ''
|
preInstall = lib.optionalString stdenv.isLinux ''
|
||||||
mv --no-clobber ./dist/*.whl $(echo ./dist/*.whl | sed s/'manylinux_[0-9]*_[0-9]*'/'manylinux1'/)
|
mv --no-clobber ./dist/*.whl $(echo ./dist/*.whl | sed s/'manylinux_[0-9]*_[0-9]*'/'manylinux1'/)
|
||||||
|
|
Loading…
Add table
Reference in a new issue