diff options
author | Lassulus <github@lassul.us> | 2022-11-09 13:26:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-09 13:26:43 +0100 |
commit | 45ef21831ee493de5efa97f48f1c31ca9dd54764 (patch) | |
tree | d4efbdf4713aa4428a4922c0389ca4c61c808b9e /tests/with-lib.nix | |
parent | c96ccd7d9fb48b8283e84811c2355a3c39bb2a52 (diff) | |
parent | 0af2a7c206bd69ecdc01361e12c7cb0ec9820911 (diff) |
Merge pull request #48 from nix-community/module
Diffstat (limited to 'tests/with-lib.nix')
-rw-r--r-- | tests/with-lib.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/with-lib.nix b/tests/with-lib.nix new file mode 100644 index 0000000..18c422b --- /dev/null +++ b/tests/with-lib.nix @@ -0,0 +1,11 @@ +{ pkgs ? (import <nixpkgs> { }) +, makeDiskoTest ? (pkgs.callPackage ./lib.nix { }).makeDiskoTest +}: +makeDiskoTest { + disko-config = ../example/with-lib.nix; + extraTestScript = '' + machine.succeed("mountpoint /"); + ''; + efi = false; + grub-devices = [ "/dev/vdb" ]; +} |