about summary refs log tree commit diff
path: root/users/glittershark/system/home/machines
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-11-29T23·54-0500
committerglittershark <grfn@gws.fyi>2020-11-30T00·04+0000
commita8a9e88d68f79337249b9b5bb4f9f8f1d4d2cc56 (patch)
tree64370f321b0724bd2a88892f03a2dfed23ef7082 /users/glittershark/system/home/machines
parentd4fb573cf76ebb1651bcce711bd4cba849a1404d (diff)
feat(gs/system): Write mugwump symlink to /tmp r/1963
To avoid it clogging up git status in the depot

Change-Id: I102126dedb427d632679ee091aced6971495b8cc
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2206
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/glittershark/system/home/machines')
-rw-r--r--users/glittershark/system/home/machines/chupacabra.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/glittershark/system/home/machines/chupacabra.nix b/users/glittershark/system/home/machines/chupacabra.nix
index 105882ba571d..39478c672bd9 100644
--- a/users/glittershark/system/home/machines/chupacabra.nix
+++ b/users/glittershark/system/home/machines/chupacabra.nix
@@ -51,10 +51,10 @@ in {
     (writeShellScriptBin "rebuild-mugwump" ''
       set -eo pipefail
       cd ~/code/depot
-      nix build -f . users.glittershark.system.system.mugwumpSystem -o mugwump
+      nix build -f . users.glittershark.system.system.mugwumpSystem -o /tmp/mugwump
       nix copy -f . users.glittershark.system.system.mugwumpSystem \
         --to ssh://mugwump
-      system=$(readlink -ef mugwump)
+      system=$(readlink -ef /tmp/mugwump)
       ssh mugwump sudo nix-env -p /nix/var/nix/profiles/system --set $system
       ssh mugwump sudo $system/bin/switch-to-configuration switch
     '')