diff --git a/tests/modules/misc/nix/example-settings.nix b/tests/modules/misc/nix/example-settings.nix index f3f9e647e..6cbcd9dfa 100644 --- a/tests/modules/misc/nix/example-settings.nix +++ b/tests/modules/misc/nix/example-settings.nix @@ -6,7 +6,7 @@ with lib; config = { nix = { package = config.lib.test.mkStubPackage { - version = lib.getVersion pkgs.nixStable; + version = lib.getVersion pkgs.nixVersions.stable; buildScript = '' target=$out/bin/nix mkdir -p "$(dirname "$target")"