wipe: fix build (#368686)

This commit is contained in:
Christian Kögler
2024-12-30 11:59:15 +01:00
committed by GitHub

View File

@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
autoreconfHook,
}:
stdenv.mkDerivation rec {
@@ -13,6 +14,12 @@ stdenv.mkDerivation rec {
sha256 = "180snqvh6k6il6prb19fncflf2jcvkihlb4w84sbndcv1wvicfa6";
};
nativeBuildInputs = [ autoreconfHook ];
# fdatasync is undocumented on darwin with no header file which breaks the build.
# use fsync instead.
configureFlags = lib.optional stdenv.hostPlatform.isDarwin "ac_cv_func_fdatasync=no";
patches = [ ./fix-install.patch ];
meta = with lib; {