From 4e1de2db31694501e6a90bf2df9125f93049eced Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Fri, 14 Jun 2019 08:23:18 -0400
Subject: [PATCH] try caching the nix store to save us rebuilding graphviz
 every time

---
 .circleci/config.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index ad409e88..7fff1e9f 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -25,6 +25,10 @@ jobs:
             # Required for the checkout step
             nix-env -i git openssh
 
+      - restore_cache:
+          keys:
+            - "v1-nix-store"
+
       - "checkout"
 
       - run:
@@ -37,6 +41,11 @@ jobs:
             apk update
             apk add ca-certificates
 
+      - save_cache:
+          key: "v1-nix-store"
+          paths:
+            - "/nix/store"
+
       - store_artifacts:
           path: "result/docs"
           destination: "docs"
-- 
GitLab