ursadb: fix build w/glibc-2.34

Failing Hydra build: https://hydra.nixos.org/build/156279394
main
Maximilian Bosch 3 years ago
parent 5f56cd5406
commit 18d915e48e
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
  1. 8
      pkgs/servers/ursadb/default.nix

@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
hash = "sha256-/EK1CKJ0IR7fkKSpQkONbWcz6uhUoAwK430ljNYsV5U=";
};
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace \
"add_executable(ursadb_test Tests.cpp)" "" \
--replace \
"target_link_libraries(ursadb_test ursa)" ""
'';
installPhase = ''
mkdir -p $out/bin
cp ursadb $out/bin/

Loading…
Cancel
Save