summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2022-10-03 12:25:02 +0200
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2022-10-27 10:03:16 +0200
commit33d12e5f0bcc61d8e12d07fd73ad981f0d42ab59 (patch)
tree4256db333001b343f095dc99789cb74b5d290dec /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent99bcead8dd4698a7bb118b52aaf986074e66acf5 (diff)
pythonPackages: ensure all derivations provide python modules
This adds a test to ensure no new uses of `buildPythonApplication` can be added to `python-packages.nix`. Python packages can be grouped into two groups: 1) applications and 2) packages providing importable modules. In `python-packages.nix` we only want to have 2). 1) should be in the top-level package set. To achieve this, all setup hooks need to be marked as being a setup hook. For the setup hooks in the Python packages set this is done by creating a new builder, `makePythonHook`. Because there were issues with splicing, the file importing all the hooks is converted to an extension. All non-packages were moved out of `python-packages.nix` into `python-packages-base.nix`. The `keep` argument to `makeScopeWithSplicing was cleaned up as well; there is no need to keep this one manually in sync reducing the risk of breaking cross-compilation.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions