diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ae5d7151499cfb1e7d6bba5d9d0a5ea9dbdc887b..91cbaa336c9c2816fc2c9168ec8bfd94f97c97d3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,6 +34,11 @@ morph-build-localdev:
   variables:
     GRID: "local"
 
+  before_script:
+    - |
+      # The local grid configuration is *almost* complete enough to build.  It
+      # just needs this tweak.
+      sed -i 's/undefined/\"unundefined\"/' morph/grid/${GRID}/public-keys/users.nix
 
 morph-build-testing:
   <<: *MORPH_BUILD