aboutsummaryrefslogtreecommitdiff
path: root/tests/nixos/nix-upgrade-nix.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nixos/nix-upgrade-nix.nix')
-rw-r--r--tests/nixos/nix-upgrade-nix.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/nixos/nix-upgrade-nix.nix b/tests/nixos/nix-upgrade-nix.nix
index 039b2d9b3..acccc2e03 100644
--- a/tests/nixos/nix-upgrade-nix.nix
+++ b/tests/nixos/nix-upgrade-nix.nix
@@ -11,7 +11,7 @@ let
lix = pkgs.nix;
lixVersion = lib.getVersion lix;
- newNix = pkgs.nixVersions.unstable;
+ newNix = pkgs.nixVersions.latest;
newNixVersion = lib.getVersion newNix;
in {
@@ -20,7 +20,7 @@ in {
nodes = {
machine = { config, lib, pkgs, ... }: {
virtualisation.writableStore = true;
- virtualisation.additionalPaths = [ pkgs.hello.drvPath ];
+ virtualisation.additionalPaths = [ pkgs.hello.drvPath newNix ];
nix.settings.substituters = lib.mkForce [ ];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
services.getty.autologinUser = "root";