pdfslicer: fix build w/glibc-2.34
Failing Hydra build: https://hydra.nixos.org/build/155183850
This commit is contained in:
parent
7c5781615f
commit
d4593d4daf
|
@ -24,6 +24,12 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0sja0ddd9c8wjjpzk2ag8q1lxpj09adgmhd7wnsylincqnj2jyls";
|
sha256 = "0sja0ddd9c8wjjpzk2ag8q1lxpj09adgmhd7wnsylincqnj2jyls";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Don't build tests, vendored catch doesn't build with latest glibc.
|
||||||
|
substituteInPlace CMakeLists.txt \
|
||||||
|
--replace "add_subdirectory (tests)" ""
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
gettext
|
gettext
|
||||||
|
|
Loading…
Reference in a new issue