timidity: fix cross

This has been broken at some point (seemingly in 7e5cc4d3ce).
Substituting pkg-config -> $PKG_CONFIG in configure script seems a bit better than
resorting to unconditional NIX_LDFLAGS. Since autoreconfHook can't be used we can't patch configure.ac.
This commit is contained in:
Sergei Zimmerman
2024-12-25 16:19:23 +03:00
parent 04e40bca2a
commit d3cea41fbe
+5
View File
@@ -32,6 +32,11 @@ stdenv.mkDerivation rec {
./configure-compat.patch
];
postPatch = ''
substituteInPlace configure \
--replace-fail "\$(pkg-config" "\$(\$PKG_CONFIG"
'';
nativeBuildInputs = [ pkg-config ];
buildInputs =
[