summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominic Steinitz <dominic@steinitz.org>2018-04-03 13:02:29 +0100
committerDominic Steinitz <dominic@steinitz.org>2018-04-03 13:02:29 +0100
commite4adc2bda5d74c1b2306ddebf9ea3f1cc706b56a (patch)
tree4a0f435da6c84fdca1ac298228133a53b0154e66
parentcff6c4fd908b0dd1bb0ad7159a62474b41e7ee7b (diff)
Set up stack like inline-r
-rw-r--r--.circleci/config.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 7322a5f..7d70e82 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -8,8 +8,10 @@ jobs:
8 - restore_cache: 8 - restore_cache:
9 key: stack-deps-{{ checksum "stack.yaml" }} 9 key: stack-deps-{{ checksum "stack.yaml" }}
10 - run: 10 - run:
11 name: Install stack 11 name: Install Stack
12 command: nix-env -f https://github.com/nixos/nixpkgs/archive/54ade273e7a677ec35e501174d86d253d9d8dede.tar.gz -i stack 12 command: |
13 apk update --no-progress && apk --no-progress add ca-certificates bash
14 nix-env -f nixpkgs.nix -iA stack
13 - run: 15 - run:
14 name: Setup build toolchain 16 name: Setup build toolchain
15 command: stack --nix setup 17 command: stack --nix setup