about summary refs log tree commit diff
path: root/pkgs/development/tools/mold
diff options
context:
space:
mode:
authorOPNA2608 <christoph.neidahl@gmail.com>2022-03-22 18:59:05 +0100
committerOPNA2608 <christoph.neidahl@gmail.com>2022-03-23 21:37:39 +0100
commitd2f268745a44dfd0ff23b5a00a75c1e13279bc3d (patch)
tree196dd1900cc1b4aa1a8ca4c822d9b07668c38ade /pkgs/development/tools/mold
parent48034046bf6271d44f7dea4c1ba97196b3b105a7 (diff)
treewide: autoPatchelfHook only on Linux
Diffstat (limited to 'pkgs/development/tools/mold')
-rw-r--r--pkgs/development/tools/mold/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/tools/mold/default.nix b/pkgs/development/tools/mold/default.nix
index 00bcd3a5f12f4..ba803afac876f 100644
--- a/pkgs/development/tools/mold/default.nix
+++ b/pkgs/development/tools/mold/default.nix
@@ -41,6 +41,8 @@ stdenv.mkDerivation rec {
     homepage = "https://github.com/rui314/mold";
     license = lib.licenses.agpl3Plus;
     maintainers = with maintainers; [ nitsky ];
-    broken = stdenv.isAarch64;
+    platforms = platforms.unix;
+    # error: aligned deallocation function of type 'void (void *, std::align_val_t) noexcept' is only available on macOS 10.14 or newer
+    broken = stdenv.isAarch64 || stdenv.isDarwin;
   };
 }