gnumake: Drop pkgconfig if not building with guileSupport

This used to be the case before commit 531e4b80c9 which seems to
have dropped it by accident.

Removes one unnecessary build of pkgconfig during stdenv bootstrapping.
This commit is contained in:
Tuomas Tynkkynen 2018-02-07 19:04:00 +02:00
parent b882387c9a
commit 0ea1c45b04

View File

@ -22,7 +22,7 @@ stdenv.mkDerivation {
./pselect.patch
];
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = stdenv.lib.optionals guileSupport [ pkgconfig ];
buildInputs = stdenv.lib.optionals guileSupport [ guile ];
configureFlags = stdenv.lib.optional guileSupport "--with-guile";