Open georgewsinger opened 5 years ago
After adjusting the stack.yaml
file (in particular adding data-flags-0.0.3.4
to extra-deps
and using lts-12.2.6) I'm now getting the following when running stack build
:
/home/george/hsroots/haskell-xkbcommon/Text/XkbCommon/KeycodeList.hs:1:1: error:
Exception when trying to run compile-time code:
/home/george/hsroots/haskell-xkbcommon/Language/Preprocessor/Cpphs/MacroPass.hs:(96,9)-(97,68): Irrefutable pattern failed for pattern Cmd (Just hd) : _
Code: runIO genKeycodes >>= return
|
1 | {-# LANGUAGE TemplateHaskell #-}
| ^
sorry for not responding for nearly a month, I had been kinda away from most projects for a while.
I don't care much about stack. I said that somewhere before (either here or the main waymonad project), I'll keep a stack.yaml around if someone sets it up and cares for it, but I don't use it and cannot take care of it myself.
Ahh, you are running into a bug in ccphs and gcc7 iirc. The new standard headers use a feature cpphs parser doesn't support. I have a more or less useable patch and contacted haskell-caffee about taking over cpphs before, but then disappeared for a while, so it never made it upstream. See https://github.com/malcolmwallace/cpphs/issues/16
I'm trying to get hsroots to build with stack. To get around
I tried
but this just yields