lol

haskell.compiler.ghc921: fix aarch64-darwin build

by applying autoSignDarwinBinariesHook

+6 -3
+5 -2
pkgs/development/compilers/ghc/9.2.1.nix
··· 2 2 3 3 # build-tools 4 4 , bootPkgs 5 - , autoconf, automake, coreutils, fetchurl, fetchpatch, perl, python3, m4, sphinx, xattr 5 + , autoconf, automake, coreutils, fetchpatch, fetchurl, perl, python3, m4, sphinx 6 + , xattr, autoSignDarwinBinariesHook 6 7 , bash 7 8 8 9 , libiconv ? null, ncurses ··· 43 44 enableDocs ? ( 44 45 # Docs disabled for musl and cross because it's a large task to keep 45 46 # all `sphinx` dependencies building in those environments. 46 - # `sphinx` pullls in among others: 47 + # `sphinx` pulls in among others: 47 48 # Ruby, Python, Perl, Rust, OpenGL, Xorg, gtk, LLVM. 48 49 (stdenv.targetPlatform == stdenv.hostPlatform) 49 50 && !stdenv.hostPlatform.isMusl ··· 242 243 nativeBuildInputs = [ 243 244 perl autoconf automake m4 python3 244 245 ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour 246 + ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ 247 + autoSignDarwinBinariesHook 245 248 ] ++ lib.optionals enableDocs [ 246 249 sphinx 247 250 ] ++ lib.optionals stdenv.isDarwin [
+1 -1
pkgs/top-level/haskell-packages.nix
··· 122 122 # Need to use apple's patched xattr until 123 123 # https://github.com/xattr/xattr/issues/44 and 124 124 # https://github.com/xattr/xattr/issues/55 are solved. 125 - inherit (buildPackages.darwin) xattr; 125 + inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook; 126 126 buildLlvmPackages = buildPackages.llvmPackages_10; 127 127 llvmPackages = pkgs.llvmPackages_10; 128 128 };