To build Smos using Stack, first clone the repository:
git clone https://github.com/NorfairKing/smos
stack install autoexporter # Only for compilation
Now you can install Smos with the default configuration:
stack install smos
You probably want to also install related tools:
stack install smos-query stack install smos-archive stack install smos-install stack install smos-sync-client
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