From 4df9292e9bb623972509a6595bf202632d905dc7 Mon Sep 17 00:00:00 2001 From: mrkun Date: Sat, 20 Nov 2021 01:50:07 +0300 Subject: [PATCH] haskellPackages.mime-string: disable optimization for older compilers --- pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix | 2 ++ pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix | 2 ++ pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix | 2 ++ 3 files changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix index d5523fd07cf8..5e42a7c1131c 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix @@ -88,4 +88,6 @@ self: super: { executableHaskellDepends = drv.executableToolDepends or [] ++ [ self.repline ]; }) super.hnix); + mime-string = disableOptimization super.mime-string; + } diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix index 72df46f393e5..db202735f893 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix @@ -106,4 +106,6 @@ self: super: { # https://github.com/haskellari/time-compat/issues/23 time-compat = dontCheck super.time-compat; + mime-string = disableOptimization super.mime-string; + } diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix index db7ae186b80f..a27a7c522098 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix @@ -129,4 +129,6 @@ self: super: { vector = dontCheck super.vector; ghc-api-compat = doDistribute super.ghc-api-compat_8_6; + + mime-string = disableOptimization super.mime-string; }