haskell/ghcjs: patch Safe out of fast-logger

This commit is contained in:
Profpatsch 2016-11-18 16:01:23 +01:00
parent 247d7c88d2
commit a7043808dd

View file

@ -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
# doesnt provide Trustworthy
sed -ie '/LANGUAGE Safe/d' System/Log/FastLogger/*.hs
cat System/Log/FastLogger/Date.hs
'';
});
}