Merge pull request #315141 from sandydoo/fix-elm

elmPackages.elm: fix build failure on darwin
This commit is contained in:
Marek Fajkus 2024-06-05 09:09:01 +02:00 committed by GitHub
commit 6f29411d94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -110,6 +110,12 @@ self: super: ({
substituteInPlace System/X509/MacOS.hs --replace security /usr/bin/security
'' + (drv.postPatch or "");
}) super.x509-system;
crypton-x509-system = overrideCabal (drv:
lib.optionalAttrs (!pkgs.stdenv.cc.nativeLibc) {
postPatch = ''
substituteInPlace System/X509/MacOS.hs --replace security /usr/bin/security
'' + (drv.postPatch or "");
}) super.crypton-x509-system;
# https://github.com/haskell-foundation/foundation/pull/412
foundation = dontCheck super.foundation;