pdfslicer: fix build w/glibc-2.34

Failing Hydra build: https://hydra.nixos.org/build/155183850
main
Maximilian Bosch 3 years ago
parent 7c5781615f
commit d4593d4daf
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
  1. 6
      pkgs/applications/misc/pdfslicer/default.nix

@ -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

Loading…
Cancel
Save