From 4650f24496ca779167540ed2fa5518700c70ce40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 29 Jun 2022 02:48:12 +0200 Subject: [PATCH] Revert "ghc: Work around broken pyopenssl on aarch64-darwin" This reverts commit 7898af7d3a134e9741458c335da523f42944d92b. --- pkgs/top-level/haskell-packages.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 54a050be73f8..68a323099569 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -49,8 +49,6 @@ let # Use this rather than `rec { ... }` below for sake of overlays. inherit (pkgs.haskell) compiler packages; - sphinx = buildPackages.sphinx_offline; - in { lib = haskellLibUncomposable; @@ -99,7 +97,7 @@ in { packages.ghc8102Binary else packages.ghc865Binary; - inherit sphinx; + inherit (buildPackages.python3Packages) sphinx; buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_7; llvmPackages = pkgs.llvmPackages_7; }; @@ -112,7 +110,7 @@ in { packages.ghc8107BinaryMinimal else packages.ghc8107Binary; - inherit sphinx; + inherit (buildPackages.python3Packages) 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. @@ -128,7 +126,7 @@ in { packages.ghc8107BinaryMinimal else packages.ghc8107Binary; - inherit sphinx; + inherit (buildPackages.python3Packages) sphinx; inherit (buildPackages.darwin) autoSignDarwinBinariesHook xattr; buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_12; llvmPackages = pkgs.llvmPackages_12; @@ -140,7 +138,7 @@ in { packages.ghc8107BinaryMinimal else packages.ghc8107Binary; - inherit sphinx; + inherit (buildPackages.python3Packages) 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. @@ -150,7 +148,7 @@ in { }; ghcHEAD = callPackage ../development/compilers/ghc/head.nix { bootPkgs = packages.ghc8107Binary; - inherit sphinx; + inherit (buildPackages.python3Packages) 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.