arc_unpacker: fix build

This commit is contained in:
Felix Rath
2021-05-15 13:09:27 -07:00
committed by Jonathan Ringer
parent 3675e4b7e3
commit 59ceb1926a
2 changed files with 29 additions and 0 deletions
@@ -18,6 +18,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake makeWrapper catch ];
buildInputs = [ boost libpng libjpeg zlib openssl libwebp ];
patches = [
# Add a missing `<stdexcept>` import that caused the build to fail.
# Failure: https://hydra.nixos.org/build/141997371/log
# Also submitted as an upstream PR: https://github.com/vn-tools/arc_unpacker/pull/194
./add-missing-import.patch
];
postPatch = ''
cp ${catch}/include/catch/catch.hpp tests/test_support/catch.h
'';