nixpkgs/pkgs/development/libraries/SDL2
Sergei Trofimovich f460885694 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
2023-04-09 09:52:16 +01:00
..
default.nix SDL2: don't propagate headers-only packages via RUNPATH 2023-04-09 09:52:16 +01:00
find-headers.patch
setup-hook.sh