From 52079e0befe571fa40133d0bbe5f280263a43608 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Tue, 10 Sep 2019 16:04:37 -0400 Subject: [PATCH] try caching nix store paths --- .circleci/config.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index aaafaf2..60d894b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,6 +38,12 @@ jobs: apk update apk add ca-certificates + - restore_cache: + name: "Restore Nix Store Paths" + keys: + - paymentserver-nix-store-v1-{{ .Environment.NIXPKGS_REV }} + - paymentserver-nix-store-v1- + - run: name: "Install Git" command: | @@ -65,6 +71,10 @@ jobs: - "/root/.stack" - ".stack-work" + - save_cache: + name: "Cache Nix Store Paths" + key: paymentserver-nix-store-v1-{{ .Environment.NIXPKGS_REV }} + workflows: version: 2 everything: -- GitLab