From cc10768376f64b7c869096a0c7fc484495b8ad97 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Fri, 18 Oct 2019 15:44:41 -0400
Subject: [PATCH] Must check out code to get nixpkgs.rev

---
 .circleci/config.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 9e9f4788..b356f0ee 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -46,6 +46,8 @@ jobs:
             # Required for the checkout step
             nix-env -i git openssh
 
+      - "checkout"
+
       - restore_cache:
           # Get all of Nix's state relating to the particular revision of
           # nixpkgs we're using.  It will always be the same.  CircleCI
@@ -67,8 +69,6 @@ jobs:
             - privatestorageio-nix-store-v1-{{ checksum "nixpkgs.rev" }}
             - privatestorageio-nix-store-v1-
 
-      - "checkout"
-
       - save_cache:
           name: "Cache Nix Store Paths"
           key: privatestorageio-nix-store-v1-{{ checksum "nixpkgs.rev" }}
-- 
GitLab