From a63a715267fa9b2882c13477c872360af6182ee1 Mon Sep 17 00:00:00 2001 From: Joel Rivera Date: Wed, 19 Aug 2020 22:59:13 -0500 Subject: [PATCH] Add three overrides to make sure the pyproject.toml is not removed. Overrides: jaraco-functools, portend and tempora. --- overrides.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/overrides.nix b/overrides.nix index 26720cc..da8400d 100644 --- a/overrides.nix +++ b/overrides.nix @@ -316,6 +316,13 @@ self: super: } ); + # disable the removal of pyproject.toml, required because of setuptools_scm + jaraco-functools = super.jaraco-functools.overridePythonAttrs ( + old: { + dontPreferSetupPy = true; + } + ); + jsonpickle = super.jsonpickle.overridePythonAttrs ( old: { dontPreferSetupPy = true; @@ -576,6 +583,13 @@ self: super: } ); + # disable the removal of pyproject.toml, required because of setuptools_scm + portend = super.portend.overridePythonAttrs ( + old: { + dontPreferSetupPy = true; + } + ); + psycopg2 = super.psycopg2.overridePythonAttrs ( old: { buildInputs = old.buildInputs @@ -1009,6 +1023,13 @@ self: super: } ); + # disable the removal of pyproject.toml, required because of setuptools_scm + tempora = super.tempora.overridePythonAttrs ( + old: { + dontPreferSetupPy = true; + } + ); + tensorflow = super.tensorflow.overridePythonAttrs ( old: { postInstall = ''