0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

wipe: fix build (#368686)

This commit is contained in:
Christian Kögler 2024-12-30 11:59:15 +01:00 committed by GitHub
commit 158a3445c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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; {