diff options
| author | Sergei Trofimovich <slyich@gmail.com> | 2023-04-09 09:44:55 +0100 |
|---|---|---|
| committer | Sergei Trofimovich <slyich@gmail.com> | 2023-04-09 09:52:16 +0100 |
| commit | f4608856947e483a0a28fda372a451b6681f20de (patch) | |
| tree | 5a12a0b2d7f94dffe041354b0c09ce22ff4cedda /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | c5cf2117f838837099d853bd3283ec21972df583 (diff) | |
SDL2: don't propagate headers-only packages via RUNPATH
On `nixpkgs` SDL2 explicitly bulds RUNPATHs from it's subset of build
inputs. As a result RUNPATH contains more than needed. This change
repomed from RUNPATH packages that don't contain libraries but contain
developer-only files:
- wayland-protocols: xml files to describe protocols
- xorgproto: header files for X11
The change moves them to buildInputs / propagatedBuildInputs.
Before the change closure size is:
$ nix path-info -rsSh $(nix-build -A SDL2) | nl
221 /nix/store/...-SDL2-2.26.4 2.5M 546.5M
After the change:
$ nix path-info -rsSh $(nix-build -A SDL2) | nl
219 /nix/store/...-SDL2-2.26.4 2.5M 544.4M
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
