recastnavigation: fix build w/glibc-2.34
Failing Hydra build: https://hydra.nixos.org/build/163634618
This commit is contained in:
parent
322c490803
commit
a2ac7c607b
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue