recastnavigation: fix build w/glibc-2.34

Failing Hydra build: https://hydra.nixos.org/build/163634618
This commit is contained in:
Maximilian Bosch 2022-01-10 16:40:44 +01:00
parent 322c490803
commit a2ac7c607b
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, cmake, libGL, SDL2, libGLU }:
{ stdenv, lib, fetchFromGitHub, cmake, libGL, SDL2, libGLU, catch }:
stdenv.mkDerivation rec {
pname = "recastai";
@ -13,6 +13,12 @@ stdenv.mkDerivation rec {
sha256 = "sha256-QP3lMMFR6fiKQTksAkRL6X9yaoVz2xt4QSIP9g6piww=";
};
postPatch = ''
cp ${catch}/include/catch/catch.hpp Tests/catch.hpp
'';
doCheck = true;
nativeBuildInputs = [ cmake ];
buildInputs = [ libGL SDL2 libGLU ];