-
-
Save mgsloan/1b30acd0de8b57f1d014 to your computer and use it in GitHub Desktop.
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
mgsloan@computer:~/fpco/test-stack$ stack new issue1805 | |
Downloading template "new-template" to create project "issue1805" in issue1805/ ... | |
The following parameters were needed by the template but not provided: category | |
You can provide them in /home/mgsloan/.stack/config.yaml, like this: | |
templates: | |
params: | |
category: value | |
Or you can pass each one as parameters like this: | |
stack new issue1805 new-template -p "category:value" | |
Using cabal packages: | |
- issue1805/issue1805.cabal | |
Selecting the best among 7 snapshots... | |
* Matches lts-5.3 | |
Selected resolver: lts-5.3 | |
Initialising configuration using resolver: lts-5.3 | |
Total number of user packages considered: 1 | |
Writing configuration to file: issue1805/stack.yaml | |
All done. | |
mgsloan@computer:~/fpco/test-stack$ cd issue1805/ | |
mgsloan@computer:~/fpco/test-stack/issue1805$ stack ghci | |
issue1805-0.1.0.0: configure | |
Configuring issue1805-0.1.0.0... | |
issue1805-0.1.0.0: build | |
Preprocessing library issue1805-0.1.0.0... | |
[1 of 1] Compiling Lib ( src/Lib.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.7.0/build/Lib.o ) | |
In-place registering issue1805-0.1.0.0... | |
Preprocessing executable 'issue1805-exe' for issue1805-0.1.0.0... | |
[1 of 1] Compiling Main ( app/Main.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.7.0/build/issue1805-exe/issue1805-exe-tmp/Main.o ) | |
Linking .stack-work/dist/x86_64-linux/Cabal-1.22.7.0/build/issue1805-exe/issue1805-exe ... | |
issue1805-0.1.0.0: copy/register | |
Installing library in | |
/home/mgsloan/fpco/test-stack/issue1805/.stack-work/install/x86_64-linux/lts-5.3/7.10.3/lib/x86_64-linux-ghc-7.10.3/issue1805-0.1.0.0-FjKZ9RMDjHuD5XBfKxlN90 | |
Installing executable(s) in | |
/home/mgsloan/fpco/test-stack/issue1805/.stack-work/install/x86_64-linux/lts-5.3/7.10.3/bin | |
Registering issue1805-0.1.0.0... | |
The following GHC options are incompatible with GHCi and have not been passed to it: -threaded | |
Using main module: 1. Package `issue1805' component exe:issue1805-exe with main-is file: /home/mgsloan/fpco/test-stack/issue1805/app/Main.hs | |
Configuring GHCi with the following packages: issue1805 | |
GHCi, version 7.10.3: http://www.haskell.org/ghc/ :? for help | |
unknown option: 'c' | |
[1 of 2] Compiling Lib ( /home/mgsloan/fpco/test-stack/issue1805/src/Lib.hs, interpreted ) | |
[2 of 2] Compiling Main ( /home/mgsloan/fpco/test-stack/issue1805/app/Main.hs, interpreted ) | |
Ok, modules loaded: Lib, Main. | |
*Main Lib> :q | |
Leaving GHCi. | |
mgsloan@computer:~/fpco/test-stack/issue1805$ rm src/Lib.hs | |
mgsloan@computer:~/fpco/test-stack/issue1805$ echo 'main = putStrLn "hi"' > app/Main.hs | |
mgsloan@computer:~/fpco/test-stack/issue1805$ vim issue1805.cabal | |
mgsloan@computer:~/fpco/test-stack/issue1805$ stack ghci | |
issue1805-0.1.0.0: unregistering (local file changes: app/Main.hs issue1805.cabal) | |
issue1805-0.1.0.0: configure | |
Configuring issue1805-0.1.0.0... | |
issue1805-0.1.0.0: build | |
Preprocessing library issue1805-0.1.0.0... | |
In-place registering issue1805-0.1.0.0... | |
Preprocessing executable 'issue1805-exe' for issue1805-0.1.0.0... | |
[1 of 1] Compiling Main ( app/Main.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.7.0/build/issue1805-exe/issue1805-exe-tmp/Main.o ) | |
Linking .stack-work/dist/x86_64-linux/Cabal-1.22.7.0/build/issue1805-exe/issue1805-exe ... | |
issue1805-0.1.0.0: copy/register | |
Installing library in | |
/home/mgsloan/fpco/test-stack/issue1805/.stack-work/install/x86_64-linux/lts-5.3/7.10.3/lib/x86_64-linux-ghc-7.10.3/issue1805-0.1.0.0-FjKZ9RMDjHuD5XBfKxlN90 | |
Installing executable(s) in | |
/home/mgsloan/fpco/test-stack/issue1805/.stack-work/install/x86_64-linux/lts-5.3/7.10.3/bin | |
Registering issue1805-0.1.0.0... | |
The following GHC options are incompatible with GHCi and have not been passed to it: -threaded | |
Using main module: 1. Package `issue1805' component exe:issue1805-exe with main-is file: /home/mgsloan/fpco/test-stack/issue1805/app/Main.hs | |
Configuring GHCi with the following packages: issue1805 | |
GHCi, version 7.10.3: http://www.haskell.org/ghc/ :? for help | |
unknown option: 'c' | |
[1 of 1] Compiling Main ( /home/mgsloan/fpco/test-stack/issue1805/app/Main.hs, interpreted ) | |
Ok, modules loaded: Main. | |
*Main> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment