From 5c87b76cc3138d8fcc98d3a7c312d4692f71c462 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Wed, 7 Aug 2019 12:53:36 -0400
Subject: [PATCH] Drop CircleCI caching of /nix/store

At some point some issue was introduced into the nix store cache on CircleCI.
Restoring the cache is currently half failing and causes `nix-build` to fail
to find `nixpkgs`.
---
 .circleci/config.yml | 23 ++---------------------
 1 file changed, 2 insertions(+), 21 deletions(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index e115cfd6..50c8a478 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -19,16 +19,6 @@ jobs:
     docker:
       - image: "nixos/nix:2.2.1"
     steps:
-      - run:
-          name: "Install CA Certificates"
-          command: |
-            # Required for cache and artifact interactions.  Though we use a
-            # nix image, it's actually an alpine base...  The CircleCI cache
-            # management and artifact uploader doesn't know how to use the nix
-            # ca bundle we could install.
-            apk update
-            apk add ca-certificates
-
       - run:
           name: "Install Git"
           command: |
@@ -51,8 +41,8 @@ jobs:
           command: |
             # Required for cache and artifact interactions.  Though we use a
             # nix image, it's actually an alpine base...  The CircleCI cache
-            # management and artifact uploader doesn't know how to use the nix
-            # ca bundle we could install.
+            # management (which we stopped using) and artifact uploader don't
+            # know how to use the nix ca bundle we could install.
             apk update
             apk add ca-certificates
 
@@ -62,10 +52,6 @@ jobs:
             # Required for the checkout step
             nix-env -i git openssh
 
-      - restore_cache:
-          keys:
-            - "v1-nix-store"
-
       - "checkout"
 
       - run:
@@ -73,11 +59,6 @@ jobs:
           command: |
             nix-build
 
-      - save_cache:
-          key: "v1-nix-store"
-          paths:
-            - "/nix/store"
-
       - store_artifacts:
           path: "result/docs"
           destination: "docs"
-- 
GitLab