blahtexml: fix build with clang 16

This commit is contained in:
Weijia Wang 2023-11-10 04:47:54 +01:00
parent a42220320a
commit 8a05519cea

View File

@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
hash = "sha256-DL5DyfARHHbwWBVHSa/VwHzNaAx/v7EDdnw1GLOk+y0=";
};
postPatch = lib.optionalString stdenv.cc.isClang ''
substituteInPlace makefile \
--replace "\$(CXX)" "\$(CXX) -std=c++98"
'';
outputs = [ "out" "doc" ];
nativeBuildInputs = [ texliveFull ]; # scheme-full needed for ucs package