From f2c94e3578528e752e5cc5e5a00130dcd495f109 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Mon, 27 Mar 2023 14:19:20 -0700 Subject: [PATCH] Add Fedora v37 tests (#364) --- nix/tests/vm-test/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/nix/tests/vm-test/default.nix b/nix/tests/vm-test/default.nix index 9641ac9..9148e65 100644 --- a/nix/tests/vm-test/default.nix +++ b/nix/tests/vm-test/default.nix @@ -69,7 +69,7 @@ let install-no-start-daemon = { install = '' NIX_PATH=$(readlink -f nix.tar.xz) - RUST_BACKTRACE="full" ./nix-installer install --nix-package-url "file://$NIX_PATH" --no-confirm --logger pretty --log-directive nix_installer=trace --no-start-daemon + RUST_BACKTRACE="full" ./nix-installer install linux --nix-package-url "file://$NIX_PATH" --no-confirm --logger pretty --log-directive nix_installer=trace --no-start-daemon ''; check = '' set -ex @@ -276,6 +276,16 @@ let postBoot = disableSELinux; }; + "fedora-v37" = { + image = import { + url = "https://app.vagrantup.com/generic/boxes/fedora37/versions/4.2.14/providers/libvirt.box"; + hash = "sha256-rxPgnDnFkTDwvdqn2CV3ZUo3re9AdPtSZ9SvOHNvaks="; + }; + rootDisk = "box.img"; + system = "x86_64-linux"; + postBoot = disableSELinux; + }; + # Currently fails with 'error while loading shared libraries: # libsodium.so.23: cannot stat shared object: Invalid argument'. /*