haskell/ghcjs: patch Safe out of fast-logger

wip/yesman
Profpatsch 8 years ago
parent 247d7c88d2
commit a7043808dd
  1. 11
      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
'';
});
}

Loading…
Cancel
Save