Skip to content

Commit

Permalink
Add three overrides to make sure the pyproject.toml is not removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyraxjoe committed Aug 20, 2020
1 parent 3204df6 commit f6de689
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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 = ''
Expand Down

0 comments on commit f6de689

Please sign in to comment.