From fce554bc6a41d12f7a18a0e8290bf43f925d7a29 Mon Sep 17 00:00:00 2001 From: Moritz Angermann Date: Thu, 16 Mar 2023 15:11:01 +0800 Subject: [PATCH] gold only on linux, !android, !musl (#1875) We should not enable gold on aarch32 for every target platform. I believe the target platform gates are enough. --- compiler/ghc/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/ghc/default.nix b/compiler/ghc/default.nix index 22d7411c75..6fb9d82a2d 100644 --- a/compiler/ghc/default.nix +++ b/compiler/ghc/default.nix @@ -68,7 +68,6 @@ let self = # use gold as the linker on linux to improve link times # do not use it on musl due to a ld.gold bug. See: . (stdenv.targetPlatform.isLinux && !stdenv.targetPlatform.isAndroid && !stdenv.targetPlatform.isMusl) - || stdenv.targetPlatform.isAarch32 , ghc-version ? src-spec.version , ghc-version-date ? null