haskell/ghcjs: patch Safe out of fast-logger
This commit is contained in:
parent
247d7c88d2
commit
a7043808dd
|
@ -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…
Reference in a new issue