To build Smos using Stack, first clone the repository:
$ git clone https://github.com/NorfairKing/smos
Now you can install Smos with the default configuration:
$ stack install autoexporter $ stack install
Troubleshooting on Arch linux
Do not install
stack or any other haskell packages using pacman.
This is unlikely to build at all and will most likely cause in bugs if it does.
stack by following the documentation on this page