diff options
author | Jamie McClymont <jamie@kwiius.com> | 2020-05-22 15:15:32 +1200 |
---|---|---|
committer | Jamie McClymont <jamie@kwiius.com> | 2020-06-08 11:21:53 +1200 |
commit | 55912f3535217910b12e81f07fb10d70511a471b (patch) | |
tree | a2d4075cc7f4acc315f4e4081ad9fc0566375373 /pkgs | |
parent | 2defee2981107428aae547773ddcf2cab65d2c6f (diff) | |
download | nixlib-55912f3535217910b12e81f07fb10d70511a471b.tar nixlib-55912f3535217910b12e81f07fb10d70511a471b.tar.gz nixlib-55912f3535217910b12e81f07fb10d70511a471b.tar.bz2 nixlib-55912f3535217910b12e81f07fb10d70511a471b.tar.lz nixlib-55912f3535217910b12e81f07fb10d70511a471b.tar.xz nixlib-55912f3535217910b12e81f07fb10d70511a471b.tar.zst nixlib-55912f3535217910b12e81f07fb10d70511a471b.zip |
nixos/qemu-vm: add option to use a non-standard BIOS
I'd like to change the default on x86 platforms to qboot at some point, since it saves a fair bit of startup time.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/virtualization/qboot/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/virtualization/qboot/default.nix b/pkgs/applications/virtualization/qboot/default.nix index 800d601c76e6..8d1f9dac2e51 100644 --- a/pkgs/applications/virtualization/qboot/default.nix +++ b/pkgs/applications/virtualization/qboot/default.nix @@ -1,4 +1,4 @@ -{ stdenv, meson, ninja, fetchFromGitHub }: +{ stdenv, meson, ninja, fetchFromGitHub, nixosTests }: stdenv.mkDerivation { name = "qboot-20200423"; @@ -19,6 +19,8 @@ stdenv.mkDerivation { hardeningDisable = [ "stackprotector" "pic" ]; + passthru.tests = { qboot = nixosTests.qboot; }; + meta = { description = "A simple x86 firmware for booting Linux"; homepage = "https://github.com/bonzini/qboot"; |