The Haskell Tool Stack is a great tool for reliably building Haskell projects. Unfortunately its latest release deprecated the
stack image command, a vital part of my build process. I needed to keep my CI working until I have time to wrangle a replacement for the command, but I couldn’t find an easy way to install an older version of Stack.
sudo curl -sSL https://raw.githubusercontent.com/commercialhaskell/stack40cf7b37526b86d1676da82167ea8758a854953b/etc/scripts/get-stack.sh | sh &&