mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 21:43:29 +01:00
make-disk-image: add impure variant
This commit is contained in:
1 parent
493b347d8f
commit
ab5f8eea75
2 files changed
+112
-29
No files matched your search
+4
-1
@@ -11,7 +11,10 @@ let
|
||||
diskoLib = {
|
||||
|
||||
# like make-disk-image.nix from nixpkgs, but with disko config
|
||||
makeDiskImage = args: import ./make-disk-image.nix ({ inherit diskoLib; } // args);
|
||||
makeDiskImage = args: (import ./make-disk-image.nix ({ inherit diskoLib; } // args)).pure;
|
||||
|
||||
# a version of makeDiskImage which runs outside of the store
|
||||
makeDiskImageScript = args: (import ./make-disk-image.nix ({ inherit diskoLib; } // args)).impure;
|
||||
|
||||
testLib = import ./tests.nix { inherit lib makeTest eval-config; };
|
||||
# like lib.types.oneOf but instead of a list takes an attrset
|
||||
|
||||
Reference in new issue
Block a user