summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc
diff options
context:
space:
mode:
authorPavol Rusnak <pavol@rusnak.io>2021-08-24 17:17:07 +0200
committerDomen Kožar <domen@dev.si>2021-08-28 12:54:06 +0200
commite0b89affa04465a31c8564b49518a2eaad95573f (patch)
tree82190ea3896eff8654d46851b756314d3ac16eeb /pkgs/development/compilers/ghc
parent236fd9c90262fcbdcbedb9ee580a0473c79315c7 (diff)
downloadnixpkgs-e0b89affa04465a31c8564b49518a2eaad95573f.tar
nixpkgs-e0b89affa04465a31c8564b49518a2eaad95573f.tar.gz
nixpkgs-e0b89affa04465a31c8564b49518a2eaad95573f.tar.bz2
nixpkgs-e0b89affa04465a31c8564b49518a2eaad95573f.tar.lz
nixpkgs-e0b89affa04465a31c8564b49518a2eaad95573f.tar.xz
nixpkgs-e0b89affa04465a31c8564b49518a2eaad95573f.tar.zst
nixpkgs-e0b89affa04465a31c8564b49518a2eaad95573f.zip
haskellPackages: fix ghc build on aarch64-darwin
by adding autoSignDarwinBinariesHook to nativeBuildInputs
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r--pkgs/development/compilers/ghc/8.10.6.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/8.10.6.nix b/pkgs/development/compilers/ghc/8.10.6.nix
index f1223deed85..a11be3b47dc 100644
--- a/pkgs/development/compilers/ghc/8.10.6.nix
+++ b/pkgs/development/compilers/ghc/8.10.6.nix
@@ -2,7 +2,8 @@
 
 # build-tools
 , bootPkgs
-, autoconf, automake, coreutils, fetchpatch, fetchurl, perl, python3, m4, sphinx, xattr
+, autoconf, automake, coreutils, fetchpatch, fetchurl, perl, python3, m4, sphinx
+, xattr, autoSignDarwinBinariesHook
 , bash
 
 , libiconv ? null, ncurses
@@ -249,6 +250,8 @@ stdenv.mkDerivation (rec {
   nativeBuildInputs = [
     perl autoconf automake m4 python3
     ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour
+  ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
+    autoSignDarwinBinariesHook
   ] ++ lib.optionals enableDocs [
     sphinx
   ];