nixos/tests: add a test for os-prober

This commit is contained in:
Symphorien Gibol
2019-06-09 19:05:30 +02:00
parent 61f0936d1c
commit 52184a7a62
2 changed files with 127 additions and 2 deletions
+2 -2
View File
@@ -719,7 +719,7 @@ rec {
{ name, fullName, size ? 4096, urlPrefix
, packagesList ? "", packagesLists ? [packagesList]
, packages, extraPackages ? [], postInstall ? ""
, extraDebs ? []
, extraDebs ? [], createRootFS ? defaultCreateRootFS
, QEMU_OPTS ? "", memSize ? 512 }:
let
@@ -729,7 +729,7 @@ rec {
};
in
(fillDiskWithDebs {
inherit name fullName size postInstall QEMU_OPTS memSize;
inherit name fullName size postInstall createRootFS QEMU_OPTS memSize;
debs = import expr {inherit fetchurl;} ++ extraDebs;
}) // {inherit expr;};