From eb9d73637a13fb0f49e66123f6271b1c00d8c290 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Thu, 24 Dec 2020 15:31:48 +0100 Subject: [PATCH] Save remote build results in a profile --- remote.sh | 1 + update.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/remote.sh b/remote.sh index 2bd6b1d9..1d9d86ca 100755 --- a/remote.sh +++ b/remote.sh @@ -2,4 +2,5 @@ set -euo pipefail set -x +nix build --no-link --profile /nix/var/nix/profiles/per-user/charlotte/$1 .#nixosConfigurations.$1.config.system.build.toplevel nixos-rebuild --flake .#$1 --target-host root@$1 --build-host localhost $2 diff --git a/update.sh b/update.sh index 56fb427d..12540720 100755 --- a/update.sh +++ b/update.sh @@ -6,7 +6,7 @@ if [ -z "${NO_LOCAL:-}" ] then pushd ../nixpkgs git fetch --all --prune - git rebase upstream/nixos-unstable-small || exit 1 + git rebase upstream/nixos-unstable || exit 1 git push || exit 1 popd fi