From 68f18f21758200efefe36b8a98853660e6e8b940 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 23 Nov 2019 17:15:42 -0800 Subject: Put outputs in _bild path --- push | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'push') diff --git a/push b/push index 8b1814e..1fe9506 100755 --- a/push +++ b/push @@ -1,6 +1,6 @@ #!/usr/bin/env bash -where="$1" -what=$(realpath "$2") +what=$(realpath "_bild/$1") +where="$2" nix copy --to ssh://root@$where $what ssh root@$where $what/bin/switch-to-configuration switch ssh root@$where nix-env --profile /nix/var/nix/profiles/system --set $what -- cgit v1.2.3