Merge pull request #31139 from pbogdan/fix-build-pecl

build-pecl: honour nativeBuildInputs

authored by Jörg Thalheim and committed by GitHub 9b82f174 5cfd049a

+2 -1
+2 -1
pkgs/build-support/build-pecl.nix
··· 2 2 3 3 { name 4 4 , buildInputs ? [] 5 + , nativeBuildInputs ? [] 5 6 , makeFlags ? [] 6 7 , src ? fetchurl { 7 8 url = "http://pecl.php.net/get/${name}.tgz"; ··· 15 16 16 17 inherit src; 17 18 18 - nativeBuildInputs = [ autoreconfHook ]; 19 + nativeBuildInputs = [ autoreconfHook ] ++ nativeBuildInputs; 19 20 buildInputs = [ php ] ++ buildInputs; 20 21 21 22 makeFlags = [ "EXTENSION_DIR=$(out)/lib/php/extensions" ] ++ makeFlags;