1
0
Fork 0

Don't evaluate profile when hydra switching

This commit is contained in:
Sandro - 2022-08-23 00:35:02 +02:00
parent 248034671d
commit 4733360cdb
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 2 additions and 1 deletions

View File

@ -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
'';