pdfslicer: fix build w/glibc-2.34

Failing Hydra build: https://hydra.nixos.org/build/155183850
This commit is contained in:
Maximilian Bosch
2022-02-27 10:26:48 +01:00
parent 7c5781615f
commit d4593d4daf
@@ -24,6 +24,12 @@ stdenv.mkDerivation rec {
sha256 = "0sja0ddd9c8wjjpzk2ag8q1lxpj09adgmhd7wnsylincqnj2jyls";
};
postPatch = ''
# Don't build tests, vendored catch doesn't build with latest glibc.
substituteInPlace CMakeLists.txt \
--replace "add_subdirectory (tests)" ""
'';
nativeBuildInputs = [
cmake
gettext