kent: enable patches if needed.

This is required by BioBigFile, which needs an older Kent version.
This commit is contained in:
Alexis Praga 2023-11-12 21:46:39 +01:00
parent 9c19bc1a55
commit 2b2c6f4c28

View File

@ -24,16 +24,12 @@ stdenv.mkDerivation rec {
buildInputs = [ libpng libuuid zlib bzip2 xz openssl curl libmysqlclient ];
patchPhase = ''
runHook prePatch
postPatch = ''
substituteInPlace ./src/checkUmask.sh \
--replace "/bin/bash" "${bash}/bin/bash"
substituteInPlace ./src/hg/sqlEnvTest.sh \
--replace "which mysql_config" "${which}/bin/which ${libmysqlclient}/bin/mysql_config"
runHook postPatch
'';
buildPhase = ''