Skip to content

Commit

Permalink
freedv: fix build on x86_64-darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank committed Oct 5, 2022
1 parent a989aa4 commit 7b68078
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/applications/radio/freedv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ stdenv.mkDerivation rec {
"-DUSE_STATIC_DEPS:BOOL=FALSE"
] ++ lib.optionals pulseSupport [ "-DUSE_PULSEAUDIO:BOOL=TRUE" ];

NIX_CFLAGS_COMPILE = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
"-DAPPLE_OLD_XCODE"
];

meta = with lib; {
homepage = "https://freedv.org/";
description = "Digital voice for HF radio";
Expand Down

0 comments on commit 7b68078

Please sign in to comment.