forked from mirrors/nixpkgs
ursadb: fix build w/glibc-2.34
Failing Hydra build: https://hydra.nixos.org/build/156279394
This commit is contained in:
parent
5f56cd5406
commit
18d915e48e
|
@ -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…
Reference in a new issue