Revert "ghc, haskell infra: #40642 direct to master"

This commit is contained in:
Peter Simons
2018-05-23 09:36:16 +02:00
committed by GitHub
parent 9530d71725
commit 5db3a9df5e
8 changed files with 50 additions and 143 deletions
@@ -128,7 +128,7 @@ self: super: builtins.intersectAttrs super {
# Prevents needing to add security_tool as a build tool to all of x509-system's
# dependencies.
x509-system = if pkgs.stdenv.targetPlatform.isDarwin && !pkgs.stdenv.cc.nativeLibc
x509-system = if pkgs.stdenv.isDarwin && !pkgs.stdenv.cc.nativeLibc
then let inherit (pkgs.darwin) security_tool;
in pkgs.lib.overrideDerivation (addBuildDepend super.x509-system security_tool) (drv: {
postPatch = (drv.postPatch or "") + ''