haskellPackages.HsOpenSSL-x509-system: fix Mac runtime
It's the same sort of platform-specific code as the
{crypton-,}x509-system packages. Applying the same bandaid fixes.
This commit is contained in:
@@ -108,6 +108,15 @@ self: super:
|
||||
+ (drv.postPatch or "");
|
||||
}
|
||||
) super.crypton-x509-system;
|
||||
HsOpenSSL-x509-system = overrideCabal (
|
||||
drv:
|
||||
lib.optionalAttrs (!pkgs.stdenv.cc.nativeLibc) {
|
||||
postPatch = ''
|
||||
substituteInPlace OpenSSL/X509/SystemStore/MacOSX.hs --replace-fail security /usr/bin/security
|
||||
''
|
||||
+ (drv.postPatch or "");
|
||||
}
|
||||
) super.HsOpenSSL-x509-system;
|
||||
|
||||
# https://github.com/haskell-foundation/foundation/pull/412
|
||||
foundation = dontCheck super.foundation;
|
||||
|
||||
Reference in New Issue
Block a user