From e4adc2bda5d74c1b2306ddebf9ea3f1cc706b56a Mon Sep 17 00:00:00 2001 From: Dominic Steinitz Date: Tue, 3 Apr 2018 13:02:29 +0100 Subject: Set up stack like inline-r --- .circleci/config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.circleci') 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: - restore_cache: key: stack-deps-{{ checksum "stack.yaml" }} - run: - name: Install stack - command: nix-env -f https://github.com/nixos/nixpkgs/archive/54ade273e7a677ec35e501174d86d253d9d8dede.tar.gz -i stack + name: Install Stack + command: | + apk update --no-progress && apk --no-progress add ca-certificates bash + nix-env -f nixpkgs.nix -iA stack - run: name: Setup build toolchain command: stack --nix setup -- cgit v1.2.3