From d8d4baf7d68ccd38d4c4c2a6066fe96e26d69b3a Mon Sep 17 00:00:00 2001 From: cidkidnix Date: Tue, 5 Dec 2023 14:38:25 -0600 Subject: [PATCH] Try again to fix build --- haskell-overlays/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haskell-overlays/default.nix b/haskell-overlays/default.nix index 8f2e82dde..087c50fd5 100644 --- a/haskell-overlays/default.nix +++ b/haskell-overlays/default.nix @@ -79,7 +79,7 @@ rec { # TODO(Dylan): Add this casing to the compiler patch (optionalExtension (super.ghc.stdenv.targetPlatform.isiOS && (super.ghc.stdenv.targetPlatform.isx86_64 || super.ghc.version == "8.6.5")) (self: super: { mkDerivation = drv: super.mkDerivation (drv // { - buildFlags = [ + buildFlags = (drv.buildFlags or []) ++ [ "--ghc-option=-fwhole-archive-hs-libs" ]; });