tiscamera: fix build w/glibc-2.34

Failing Hydra build: https://hydra.nixos.org/build/156249703
This commit is contained in:
Maximilian Bosch 2021-10-31 14:09:41 +01:00
parent 518865059a
commit 5f56cd5406
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -17,6 +17,7 @@
, python3Packages
, libuuid
, wrapGAppsHook
, catch2
}:
stdenv.mkDerivation rec {
@ -30,6 +31,10 @@ stdenv.mkDerivation rec {
sha256 = "0hpy9yhc4mn6w8gvzwif703smmcys0j2jqbz2xfghqxcyb0ykplj";
};
postPatch = ''
cp ${catch2}/include/catch2/catch.hpp external/catch/catch.hpp
'';
nativeBuildInputs = [
cmake
pkg-config