mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 13:33:28 +01:00
tests: pass lib to examples
This commit is contained in:
1 parent
c96ccd7d9f
commit
8666475b74
12 files changed
+59
-13
No files matched your search
@@ -0,0 +1,11 @@
|
||||
{ pkgs ? (import <nixpkgs> { })
|
||||
, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest
|
||||
}:
|
||||
makeDiskoTest {
|
||||
disko-config = import ../example/with-lib.nix;
|
||||
extraTestScript = ''
|
||||
machine.succeed("mountpoint /");
|
||||
'';
|
||||
efi = false;
|
||||
grub-devices = [ "/dev/vdb" ];
|
||||
}
|
||||
Reference in new issue
Block a user