mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
tests: Add quickBuild to all VM tests
This commit is contained in:
parent
8557d79650
commit
d208e9dd9f
3 changed files with 7 additions and 6 deletions
|
@ -7,7 +7,13 @@ let
|
||||||
# https://nixos.org/manual/nixos/unstable/index.html#sec-calling-nixos-tests
|
# https://nixos.org/manual/nixos/unstable/index.html#sec-calling-nixos-tests
|
||||||
runNixOSTestFor = system: test:
|
runNixOSTestFor = system: test:
|
||||||
(nixos-lib.runTest {
|
(nixos-lib.runTest {
|
||||||
imports = [ test ];
|
imports = [
|
||||||
|
test
|
||||||
|
|
||||||
|
# Add the quickBuild attribute to the check packages
|
||||||
|
./quick-build.nix
|
||||||
|
];
|
||||||
|
|
||||||
hostPkgs = nixpkgsFor.${system}.native;
|
hostPkgs = nixpkgsFor.${system}.native;
|
||||||
defaults = {
|
defaults = {
|
||||||
nixpkgs.pkgs = nixpkgsFor.${system}.native;
|
nixpkgs.pkgs = nixpkgsFor.${system}.native;
|
||||||
|
|
|
@ -8,11 +8,6 @@ let
|
||||||
|
|
||||||
in
|
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 rarely change the script in a way that benefits from type checking, so
|
||||||
# we skip it to save time.
|
# we skip it to save time.
|
||||||
skipTypeCheck = true;
|
skipTypeCheck = true;
|
||||||
|
|
Loading…
Reference in a new issue