haskell.compiler.ghcHEAD: apply autoSignDarwinBinariesHook

This commit is contained in:
Pavol Rusnak 2021-11-08 23:57:26 +01:00
parent 3b9e94dc6c
commit 155b7f0114
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D
2 changed files with 5 additions and 2 deletions

View file

@ -2,7 +2,8 @@
# build-tools
, bootPkgs
, autoconf, autoreconfHook, automake, coreutils, fetchgit, perl, python3, m4, sphinx, xattr
, autoconf, autoreconfHook, automake, coreutils, fetchgit, perl, python3, m4, sphinx
, xattr, autoSignDarwinBinariesHook
, bash
, libiconv ? null, ncurses
@ -263,6 +264,8 @@ stdenv.mkDerivation (rec {
nativeBuildInputs = [
perl autoconf autoreconfHook automake m4 python3
ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
autoSignDarwinBinariesHook
] ++ lib.optionals enableDocs [
sphinx
];

View file

@ -133,7 +133,7 @@ in {
# Need to use apple's patched xattr until
# https://github.com/xattr/xattr/issues/44 and
# https://github.com/xattr/xattr/issues/55 are solved.
inherit (buildPackages.darwin) xattr;
inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook;
buildLlvmPackages = buildPackages.llvmPackages_10;
llvmPackages = pkgs.llvmPackages_10;
libffi = pkgs.libffi;