diff options
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghcjs.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghcjs.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghcjs.nix b/pkgs/development/haskell-modules/configuration-ghcjs.nix index b97cbd52fce..e232152d6dd 100644 --- a/pkgs/development/haskell-modules/configuration-ghcjs.nix +++ b/pkgs/development/haskell-modules/configuration-ghcjs.nix @@ -139,4 +139,15 @@ self: super: ''; }); + + # https://github.com/kazu-yamamoto/logger/issues/97 + fast-logger = overrideCabal super.fast-logger (old: { + postPatch = old.postPatch or "" + '' + # remove the Safe extensions, since ghcjs-boot directory + # doesn’t provide Trustworthy + sed -ie '/LANGUAGE Safe/d' System/Log/FastLogger/*.hs + cat System/Log/FastLogger/Date.hs + ''; + }); + } |