@@ -1,9 +1,9 @@
11{ stdenvNoCC
22, fetchurl
3−, pkgconfig
43, rpmextract
54, undmg
65, darwin
6+, validatePkgConfig
77, enableStatic ? false
88}:
99
@@ -46,15 +46,11 @@ in stdenvNoCC.mkDerivation {
4646 sha256 = "0v86hrqg15mbc78m9qk8dbkaaq3mlwashgbf9n79kxpl1gilnah8";
4747 });
4848
49− nativeBuildInputs = if stdenvNoCC.isDarwin
49+ nativeBuildInputs = [ validatePkgConfig ] ++ (if stdenvNoCC.isDarwin
5050 then
5151 [ undmg darwin.cctools ]
5252 else
53− [ rpmextract ];
54−
55− installCheckInputs = [ pkgconfig ];
56−
57− doInstallCheck = true;
53+ [ rpmextract ]);
5854
5955 buildPhase = if stdenvNoCC.isDarwin then ''
6056 for f in Contents/Resources/pkg/*.tgz; do
@@ -152,11 +148,6 @@ in stdenvNoCC.mkDerivation {
152148 install_name_tool -change @rpath/libtbbmalloc.dylib $out/lib/libtbbmalloc.dylib $out/lib/libtbbmalloc_proxy.dylib
153149 '';
154150
155− # Validate pkgconfig files, since they break often on updates.
156− installCheckPhase = ''
157− pkg-config --validate $out/lib/pkgconfig/*.pc
158− '';
159−
160151 # Per license agreement, do not modify the binary
161152 dontStrip = true;
162153 dontPatchELF = true;