tests: Add quickBuild to all VM tests

This commit is contained in:
Robert Hensing 2024-06-16 16:40:20 +02:00
parent 8557d79650
commit d208e9dd9f
3 changed files with 7 additions and 6 deletions

View file

@ -7,7 +7,13 @@ let
# https://nixos.org/manual/nixos/unstable/index.html#sec-calling-nixos-tests
runNixOSTestFor = system: test:
(nixos-lib.runTest {
imports = [ test ];
imports = [
test
# Add the quickBuild attribute to the check packages
./quick-build.nix
];
hostPkgs = nixpkgsFor.${system}.native;
defaults = {
nixpkgs.pkgs = nixpkgsFor.${system}.native;

View file

@ -8,11 +8,6 @@ let
in
{
imports = [
# Add the quickBuild attribute to the check package
./quick-build.nix
];
# We rarely change the script in a way that benefits from type checking, so
# we skip it to save time.
skipTypeCheck = true;