mirror of
https://github.com/nix-community/disko.git
synced 2024-09-11 06:25:33 +03:00
Merge pull request #88 from nix-community/fixup
This commit is contained in:
commit
1ecb428c86
4
cli.nix
4
cli.nix
@ -6,7 +6,9 @@
|
||||
, noDeps ? false
|
||||
, ... }@args:
|
||||
let
|
||||
disko = import ./. { };
|
||||
disko = import ./. {
|
||||
lib = pkgs.lib;
|
||||
};
|
||||
|
||||
diskFormat = if flake != null then
|
||||
(pkgs.lib.attrByPath [ "diskoConfigurations" flakeAttr ] (builtins.abort "${flakeAttr} does not exist") (builtins.getFlake flake)) args
|
||||
|
Loading…
Reference in New Issue
Block a user