fldigi: fix build on darwin

This commit is contained in:
Weijia Wang 2024-05-04 23:40:32 +02:00
parent 9acd796487
commit 4a97b12b08

View file

@ -39,6 +39,8 @@ stdenv.mkDerivation rec {
libsamplerate libsamplerate
] ++ lib.optionals (stdenv.isLinux) [ libpulseaudio alsa-lib udev ]; ] ++ lib.optionals (stdenv.isLinux) [ libpulseaudio alsa-lib udev ];
env.CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++14";
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with lib; { meta = with lib; {
@ -47,8 +49,5 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ relrod ftrvxmtrx ]; maintainers = with maintainers; [ relrod ftrvxmtrx ];
platforms = platforms.unix; platforms = platforms.unix;
# unable to execute command: posix_spawn failed: Argument list too long
# Builds fine on aarch64-darwin
broken = stdenv.system == "x86_64-darwin";
}; };
} }