ghc: Work around broken pyopenssl on aarch64-darwin

This commit is contained in:
Robert Hensing 2022-06-26 13:39:46 +02:00
parent b75a20420b
commit 7898af7d3a

View File

@ -47,6 +47,8 @@ let
# Use this rather than `rec { ... }` below for sake of overlays.
inherit (pkgs.haskell) compiler packages;
sphinx = buildPackages.sphinx_offline;
in {
lib = haskellLibUncomposable;
@ -87,7 +89,7 @@ in {
packages.ghc8102Binary
else
packages.ghc865Binary;
inherit (buildPackages.python3Packages) sphinx;
inherit sphinx;
buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_7;
llvmPackages = pkgs.llvmPackages_7;
};
@ -100,7 +102,7 @@ in {
packages.ghc8107BinaryMinimal
else
packages.ghc8107Binary;
inherit (buildPackages.python3Packages) sphinx;
inherit sphinx;
# 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.
@ -116,7 +118,7 @@ in {
packages.ghc8107BinaryMinimal
else
packages.ghc8107Binary;
inherit (buildPackages.python3Packages) sphinx;
inherit sphinx;
inherit (buildPackages.darwin) autoSignDarwinBinariesHook xattr;
buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_12;
llvmPackages = pkgs.llvmPackages_12;
@ -128,7 +130,7 @@ in {
packages.ghc8107BinaryMinimal
else
packages.ghc8107Binary;
inherit (buildPackages.python3Packages) sphinx;
inherit sphinx;
# 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.
@ -138,7 +140,7 @@ in {
};
ghcHEAD = callPackage ../development/compilers/ghc/head.nix {
bootPkgs = packages.ghc8107Binary;
inherit (buildPackages.python3Packages) sphinx;
inherit sphinx;
# 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.