Last active
February 18, 2018 19:43
-
-
Save fragamus/4da9a40477b63e2cc1f39afea8af3859 to your computer and use it in GitHub Desktop.
stack no workie
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
[root@ip-172-31-30-159:~]# nix-env -iA nixos.stack | |
installing ‘stack-1.5.1’ | |
these paths will be fetched (3.47 MiB download, 22.51 MiB unpacked): | |
/nix/store/959h7dff5saa0k89v1gj73vk6k8vvb3q-stack-1.5.1 | |
fetching path ‘/nix/store/959h7dff5saa0k89v1gj73vk6k8vvb3q-stack-1.5.1’... | |
*** Downloading ‘https://cache.nixos.org/nar/0xqf7whg0g6cfvkz7y3pgk3h5q5a9vhvs7dfn450fj4a0j4z9sy3.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/959h7dff5saa0k89v1gj73vk6k8vvb3q-stack-1.5.1’... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 3549k 100 3549k 0 0 1774k 0 0:00:02 0:00:02 --:--:-- 1533k | |
building path(s) ‘/nix/store/50bk7bma0ya6vaknjkw2p8pjvk5ijy24-user-environment’ | |
created 2 symlinks in user environment | |
[root@ip-172-31-30-159:~]# stack --nix ghci | |
Writing implicit global project config file to: /root/.stack/global-project/stack.yaml | |
Note: You can change the snapshot via the resolver field there. | |
Using latest snapshot resolver: lts-10.5 | |
Downloaded lts-10.5 build plan. | |
AesonException "Error in $.packages.cassava.constraints.flags['bytestring--lt-0_10_4']: Invalid flag name: \"bytestring--lt-0_10_4\"" | |
[root@ip-172-31-30-159:~]# nix-channel --list | |
nixos https://nixos.org/channels/nixos-17.09 | |
[root@ip-172-31-30-159:~]# nix-channel --update | |
downloading Nix expressions from ‘https://d3g5gsiof5omrk.cloudfront.net/nixos/17.09/nixos-17.09.3023.c882c4dd55e/nixexprs.tar.xz’... | |
downloading ‘https://d3g5gsiof5omrk.cloudfront.net/nixos/17.09/nixos-17.09.3023.c882c4dd55e/nixexprs.tar.xz’... [0/0 KiB, 0.0 KiB/s] | |
unpacking channels... | |
created 2 symlinks in user environment | |
[root@ip-172-31-30-159:~]# nix-env -iA nixos.stack | |
replacing old ‘stack-1.5.1’ | |
installing ‘stack-1.5.1’ | |
these paths will be fetched (10.14 MiB download, 48.07 MiB unpacked): | |
/nix/store/9q004jgdiqv9pziik3sxffbzwz49fgjn-gmp-6.1.2 | |
/nix/store/c0cy3rkm9h7614nhlp0sappy1wcgavv8-stack-1.5.1 | |
/nix/store/d54amiggq6bw23jw6mdsgamvs6v1g3bh-glibc-2.25-123 | |
/nix/store/dk0n769l985raba2nrya2q7ivspafj6f-gcc-6.4.0-lib | |
/nix/store/dl66jvc19im9lqslzqszsp2gif2y0y8i-zlib-1.2.11 | |
fetching path ‘/nix/store/d54amiggq6bw23jw6mdsgamvs6v1g3bh-glibc-2.25-123’... | |
*** Downloading ‘https://cache.nixos.org/nar/05527c6sf7j1j37i4pdmj58xwf9ahwqsp1y4c14zgq3k6i6rnm64.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/d54amiggq6bw23jw6mdsgamvs6v1g3bh-glibc-2.25-123’... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 5409k 100 5409k 0 0 5409k 0 0:00:01 --:--:-- 0:00:01 9263k | |
fetching path ‘/nix/store/dk0n769l985raba2nrya2q7ivspafj6f-gcc-6.4.0-lib’... | |
*** Downloading ‘https://cache.nixos.org/nar/1v1cl9zx1vy30ylk2f2w398b217hrfcqhil33am2b5yl0dkhjrv9.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/dk0n769l985raba2nrya2q7ivspafj6f-gcc-6.4.0-lib’... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 1136k 100 1136k 0 0 1136k 0 0:00:01 --:--:-- 0:00:01 5362k | |
fetching path ‘/nix/store/dl66jvc19im9lqslzqszsp2gif2y0y8i-zlib-1.2.11’... | |
*** Downloading ‘https://cache.nixos.org/nar/0phrdk2y1c6m4zrxajlbwrdl6vc4adipix6fr3pq01z3g56rp00w.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/dl66jvc19im9lqslzqszsp2gif2y0y8i-zlib-1.2.11’... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 46220 100 46220 0 0 46220 0 0:00:01 --:--:-- 0:00:01 851k | |
fetching path ‘/nix/store/9q004jgdiqv9pziik3sxffbzwz49fgjn-gmp-6.1.2’... | |
*** Downloading ‘https://cache.nixos.org/nar/1zghjrf6dn67cq0wi3ar1h5v0dbmlikz34vhpw87zj8ll260b21s.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/9q004jgdiqv9pziik3sxffbzwz49fgjn-gmp-6.1.2’... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 249k 100 249k 0 0 249k 0 0:00:01 --:--:-- 0:00:01 650k | |
fetching path ‘/nix/store/c0cy3rkm9h7614nhlp0sappy1wcgavv8-stack-1.5.1’... | |
*** Downloading ‘https://cache.nixos.org/nar/0xpp5z8ac13cna45cx55vhir7n6lsykwjld2p3r5azssmf5rrmj6.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/c0cy3rkm9h7614nhlp0sappy1wcgavv8-stack-1.5.1’... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 3543k 100 3543k 0 0 3543k 0 0:00:01 --:--:-- 0:00:01 4022k | |
building path(s) ‘/nix/store/4kr9xq0s0gh6yivkg3napwl1y2p4pmp0-user-environment’ | |
created 2 symlinks in user environment | |
[root@ip-172-31-30-159:~]# stack --nix ghci | |
Downloaded lts-10.5 build plan. | |
AesonException "Error in $.packages.cassava.constraints.flags['bytestring--lt-0_10_4']: Invalid flag name: \"bytestring--lt-0_10_4\"" | |
[root@ip-172-31-30-159:~]# stack --nix new simple | |
Downloading template "new-template" to create project "simple" in simple/ ... | |
The following parameters were needed by the template but not provided: author-email, author-name, category, copyright, github-username | |
You can provide them in /root/.stack/config.yaml, like this: | |
templates: | |
params: | |
author-email: value | |
author-name: value | |
category: value | |
copyright: value | |
github-username: value | |
Or you can pass each one as parameters like this: | |
stack new simple new-template -p "author-email:value" -p "author-name:value" -p "category:value" -p "copyright:value" -p "github-username:value" | |
Looking for .cabal or package.yaml files to use to init the project. | |
Using cabal packages: | |
- simple/simple.cabal | |
Selecting the best among 12 snapshots... | |
Downloaded lts-10.5 build plan. | |
AesonException "Error in $.packages.cassava.constraints.flags['bytestring--lt-0_10_4']: Invalid flag name: \"bytestring--lt-0_10_4\"" | |
[root@ip-172-31-30-159:~/.stack]# find ~/.stack -type f -exec grep "bytestring--lt-0_10_4" {} \; -print | |
bytestring--lt-0_10_4: false | |
/root/.stack/build-plan/lts-10.5.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment