From a8a9e88d68f79337249b9b5bb4f9f8f1d4d2cc56 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 29 Nov 2020 18:54:00 -0500 Subject: feat(gs/system): Write mugwump symlink to /tmp 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 Tested-by: BuildkiteCI --- users/glittershark/system/home/machines/chupacabra.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'users/glittershark/system/home/machines/chupacabra.nix') 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 '') -- cgit 1.4.1