diff --git a/overrides.nix b/overrides.nix index 9b54619..2106708 100644 --- a/overrides.nix +++ b/overrides.nix @@ -369,9 +369,13 @@ self: super: } ); - # disable the removal of pyproject.toml, required because of setuptools_scm jaraco-functools = super.jaraco-functools.overridePythonAttrs ( old: { + # required for the extra "toml" dependency in setuptools_scm[toml] + buildInputs = (old.buildInputs or [ ]) ++ [ + self.toml + ]; + # disable the removal of pyproject.toml, required because of setuptools_scm dontPreferSetupPy = true; } ); @@ -764,9 +768,13 @@ self: super: ''; }); - # disable the removal of pyproject.toml, required because of setuptools_scm portend = super.portend.overridePythonAttrs ( old: { + # required for the extra "toml" dependency in setuptools_scm[toml] + buildInputs = (old.buildInputs or [ ]) ++ [ + self.toml + ]; + # disable the removal of pyproject.toml, required because of setuptools_scm dontPreferSetupPy = true; } ); @@ -1278,9 +1286,13 @@ self: super: } ); - # disable the removal of pyproject.toml, required because of setuptools_scm tempora = super.tempora.overridePythonAttrs ( old: { + # required for the extra "toml" dependency in setuptools_scm[toml] + buildInputs = (old.buildInputs or [ ]) ++ [ + self.toml + ]; + # disable the removal of pyproject.toml, required because of setuptools_scm dontPreferSetupPy = true; } );