From 5586c022e88720769ba73c0b8273b6a2efb84ec0 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Fri, 25 Jun 2021 15:15:46 -0400
Subject: [PATCH] hmm should probably set up a channel on the host?

---
 nixos/modules/update-deployment | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/nixos/modules/update-deployment b/nixos/modules/update-deployment
index b8956653..4f5ecd40 100755
--- a/nixos/modules/update-deployment
+++ b/nixos/modules/update-deployment
@@ -26,4 +26,6 @@ fi
 
 echo "$(date --iso-8601=seconds) $(git -C "${CHECKOUT}" rev-parse HEAD)" >> /var/log/updates.txt
 
-morph deploy "${CHECKOUT}"/morph/grid/"${GRIDNAME}"/grid.nix switch --on "$(hostname)"
+nix-shell "${CHECKOUT}"/shell.nix --command "
+  morph deploy \"${CHECKOUT}\"/morph/grid/\"${GRIDNAME}\"/grid.nix switch --on \"$(hostname)\"
+"
-- 
GitLab