1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
Commit graph

4 commits

Author SHA1 Message Date
Spencer Baugh 46f2b49b44 pythonPackages.pkgconfig: use same setupHook as pkgconfig
This setupHook is necessary for actually using pkgconfig. Without this
setupHook, you need to put both pythonPackages.pkgconfig and pkgconfig
into your buildInputs, just to get the setuphook of the latter.

Previously, pythonPackages.pkgconfig depended on pkgconfig as a
propagatedBuildInput, so this setupHook was propagated down to
dependents. That was changed to a regular nativeBuildInput, so now
this setupHook change is necessary for packages to only depend on
pythonPackages.pkgconfig.

A possible alternative is extracting out a common pkgconfigHook
package and having both pythonPackages.pkgconfig and pkgconfig depend
on that with propagatedBuildInputs. That might be necessary to avoid
the buildHook running twice?
2019-02-17 14:40:51 +01:00
Frederik Rietdijk 05232abbbc python.pkgs.pkgconfig: hardcode path to pkg-config 2019-01-15 10:16:11 +01:00
Frederik Rietdijk 31ee6d82dc python: pkgconfig: 1.3.1 -> 1.4.0 2018-08-25 18:07:14 +02:00
Robert Schütz 9f7ed5ed10 python.pkgs.pkgconfig: move expression 2018-06-21 07:42:50 +02:00