Created
June 20, 2019 09:20
-
-
Save m4lvin/bc5cfb31375e72c743bc502b0dc6e663 to your computer and use it in GitHub Desktop.
How to install Agda 2.5.4.2 from stackage with stack instead of cabal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install Agda 2.5.4.2 from stackage with stack instead of cabal | |
cd $HOME | |
stack install --resolver lts-12.26 Agda | |
# install standard library v0.17 | |
cd $HOME/gits | |
git clone | |
git clone https://github.com/agda/agda-stdlib.git | |
cd agda-stdlib | |
git checkout v0.17 | |
# register and always use standard library, see | |
mkdir $HOME/.agda | |
echo "$HOME/gits/agda-stdlib/standard-library.agda-lib" > $HOME/.agda/libraries | |
echo "standard-library" > $HOME/.agda/defaults | |
# optional | |
agda-mode compile | |
# configure emacs | |
agda-mode setup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment