diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-12-22 19:08:55 +0100 |
---|---|---|
committer | Rick van Schijndel <Mindavi@users.noreply.github.com> | 2022-12-24 19:28:12 +0100 |
commit | 39ce2d9c1fc9340bd010904c30407aa2c27118cb (patch) | |
tree | 170ebf120eb50749fe88c9709eea180db11da6ab | |
parent | 2819a437f7a96e42c874b7e97702263ba111ca71 (diff) | |
download | nixpkgs-39ce2d9c1fc9340bd010904c30407aa2c27118cb.tar nixpkgs-39ce2d9c1fc9340bd010904c30407aa2c27118cb.tar.gz nixpkgs-39ce2d9c1fc9340bd010904c30407aa2c27118cb.tar.bz2 nixpkgs-39ce2d9c1fc9340bd010904c30407aa2c27118cb.tar.lz nixpkgs-39ce2d9c1fc9340bd010904c30407aa2c27118cb.tar.xz nixpkgs-39ce2d9c1fc9340bd010904c30407aa2c27118cb.tar.zst nixpkgs-39ce2d9c1fc9340bd010904c30407aa2c27118cb.zip |
dia: unbreak on aarch64-darwin
-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 429eae34a24..d391ca75544 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; }; } |