on master help sign in
Merge pull request #3678 from jfdm/updated-stack

Updated stack

commit16e2f28ff69f45f56a28703bcc2698807957c1b9 authorJan de Muijnck-Hughes <jfdm@users.noreply.github.com> dateTue 7 Mar 2017, 16:49 (10 years ago) parent3acfea92f855c5
3 files changed+18−8
INSTALL.md+16−6 stack-shell.nix+1−1 stack.yaml+1−1
INSTALL.md+16−6
@@ -64,18 +64,28 @@ contribute.
6464cross-platform program for developing Haskell projects, that enhances
6565the functionality provided by Cabal. There is experimental support for
6666building Idris from source with stack.
67+
6768This installation has been tested on Ubuntu 16.04.1 LTS, and the current
6869NixOS unstable.
6970
70−To build Idris with stack the following commands are recommended:
71+*Important* Stack will not install any external dependencies required
72+to build Idris. Before you try stack please ensure you have the
73+correct depenencies.
74+
75+To build Idris with stack use the following command:
7176
7277* `stack build`
7378
74−This will install Idris (and related executables) into `./local/bin/`
75−on Unix based systems and an appropriate place on Windows. If you
76−haven't used stack before this will also setup the related
77−infrastructure. For more information about Stack please visit the
78−[Stack website](https://github.com/commercialhaskell/stack).
79+To install Idris:
80+
81+* `stack install`
82+
83+Stack will install Idris (and related executables) into `$HOME/.local/bin/`
84+on Unix based systems and an appropriate place on Windows.
85+
86+Of note: If you haven't used stack before commands will also setup the
87+related infrastructure. For more information about Stack please visit
88+the [Stack website](https://github.com/commercialhaskell/stack).
7989
8090On NixOS, please use the following command instead, to make sure
8191the required libraries and header files are available:
stack-shell.nix+1−1
@@ -2,7 +2,7 @@ with (import <nixpkgs> {});
22
33let
44 # MUST match resolver in stack.yaml
5− resolver = haskell.packages.lts-7_14.ghc;
5+ resolver = haskell.packages.lts-7_19.ghc;
66
77 native_libs = [
88 libffi
stack.yaml+1−1
@@ -1,4 +1,4 @@
1−resolver: lts-7.14
1+resolver: lts-7.19
22
33packages:
44 - location: .