|
@ -0,0 +1,25 @@ |
|
|
|
|
|
#+title: Installing stack on ARM64 |
|
|
|
|
|
#+author: Annwan |
|
|
|
|
|
#+date: 2022:03:04 |
|
|
|
|
|
#+options: h:1 num:nil toc:nil |
|
|
|
|
|
|
|
|
|
|
|
** Why stack on ARM |
|
|
|
|
|
|
|
|
|
|
|
People might want to run haskell applications on ARM devices like a |
|
|
|
|
|
Raspberry Pi. The Haskell compiler has supported the architecture |
|
|
|
|
|
through LLVM for a couple of year now, as well as the builtin dependency |
|
|
|
|
|
manager, Cabal. However the dependency management of Cabal is |
|
|
|
|
|
system-wide (or at least user wide) and, because all packages interact |
|
|
|
|
|
with each other, it can pose problems with compatibility. |
|
|
|
|
|
|
|
|
|
|
|
That is the problem that =stack= solves by allowing for reproducible, |
|
|
|
|
|
isolated environement for each project, and a lot of projects now use |
|
|
|
|
|
stack for their dependency and version management. |
|
|
|
|
|
|
|
|
|
|
|
However stack does not provide any build for arm systems, we thus need |
|
|
|
|
|
to install it anoter way |
|
|
|
|
|
|
|
|
|
|
|
** Contents |
|
|
|
|
|
|
|
|
|
|
|
#+TOC: headlines 1 |
|
|
|
|
|
|