diff --git a/pkgs/tools/networking/cbftp/default.nix b/pkgs/tools/networking/cbftp/default.nix index e78b8a93dc67..5709acb02ddb 100644 --- a/pkgs/tools/networking/cbftp/default.nix +++ b/pkgs/tools/networking/cbftp/default.nix @@ -21,6 +21,8 @@ stdenv.mkDerivation rec { dontConfigure = true; + makeFlags = lib.optional stdenv.isDarwin "OPTFLAGS=-O0"; + installPhase = '' runHook preInstall