From f6de689fef35ddeaddc18e09251223cd8ad4bd78 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.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/overrides.nix b/overrides.nix index cf7d46e82..97713ff31 100644 --- a/overrides.nix +++ b/overrides.nix @@ -238,6 +238,13 @@ self: super: } ); + # disable the removal of pyproject.toml, required because of setuptools_scm + jaraco-functools = super.jaraco-functools.overridePythonAttrs ( + old: { + dontPreferSetupPy = true; + } + ); + jupyter = super.jupyter.overridePythonAttrs ( old: rec { # jupyter is a meta-package. Everything relevant comes from the @@ -458,6 +465,14 @@ self: super: } ); + # disable the removal of pyproject.toml, required because of setuptools_scm + portend = super.portend.overridePythonAttrs ( + old: { + dontPreferSetupPy = true; + } + ); + + pillow = super.pillow.overridePythonAttrs ( old: { nativeBuildInputs = [ pkgs.pkgconfig ] ++ old.nativeBuildInputs; @@ -892,6 +907,14 @@ 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 = ''