diff options
Diffstat (limited to 'pkgs/applications/graphics/dia/default.nix')
-rw-r--r-- | pkgs/applications/graphics/dia/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/dia/default.nix b/pkgs/applications/graphics/dia/default.nix index 429eae34a244a..d391ca75544d7 100644 --- a/pkgs/applications/graphics/dia/default.nix +++ b/pkgs/applications/graphics/dia/default.nix @@ -31,6 +31,9 @@ stdenv.mkDerivation { ''; configureFlags = lib.optional withGNOME "--enable-gnome"; + # error: implicitly declaring library function 'finite' with type 'int (double)' + NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) "-Dfinite=isfinite"; + hardeningDisable = [ "format" ]; meta = with lib; { @@ -39,7 +42,5 @@ stdenv.mkDerivation { maintainers = with maintainers; [ raskin ]; license = licenses.gpl2; platforms = platforms.unix; - # never built on aarch64-darwin since first introduction in nixpkgs - broken = stdenv.isDarwin && stdenv.isAarch64; }; } |