From 4733360cdba1dffae48bea65050ff952c4104c79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 23 Aug 2022 00:35:02 +0200 Subject: [PATCH] Don't evaluate profile when hydra switching --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index ccc0da86..48dd395c 100644 --- a/flake.nix +++ b/flake.nix @@ -270,7 +270,8 @@ nix copy --from https://hydra.hq.c3d2.de \ $TOPLEVEL echo Activation on ${name}: "$@" - ${pkgs.nixos-rebuild}/bin/nixos-rebuild --flake $TOPLEVEL@${name} "$@" + nix-env -p /nix/var/nix/profiles/system --set $TOPLEVEL + $TOPLEVEL/bin/switch-to-configuration "$@" EOF '';