steghide: Fix build on clang 16

This commit is contained in:
Zhong Jianxin 2024-11-03 20:44:33 +08:00
parent cebf6fb825
commit 38a1f61cde

View File

@ -35,6 +35,11 @@ stdenv.mkDerivation (finalAttrs: {
cd src
'';
# std::binary_function and std::unary_function has been removed in c++17
makeFlags = lib.optionals stdenv.cc.isClang [
"CXXFLAGS=-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION"
];
meta = with lib; {
homepage = "https://github.com/museoa/steghide";
description = "Open source steganography program";