From aebcd2db5894110f61b833963cb47919339562d1 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Mon, 12 Sep 2022 12:24:35 -0400
Subject: [PATCH] Make the build shell pure to avoid accidental host
 environment deps

Previously we got nix from the host env without even realizing it.  As soon as
it upgraded things broke.
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 997bda9b..bbd14724 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -69,7 +69,7 @@ unit-tests:
     - |
       set -x
       # GRID is set in one of the "instantiations" of this job template.
-      nix-shell --run "morph build --show-trace morph/grid/${GRID}/grid.nix"
+      nix-shell --pure --run "morph build --show-trace morph/grid/${GRID}/grid.nix"
 
 
 morph-build-localdev:
-- 
GitLab