mirror of
https://github.com/nix-community/disko.git
synced 2026-12-03 22:43:28 +01:00
Merge pull request #88 from nix-community/fixup
This commit is contained in:
1 file changed
+3
-1
@@ -6,7 +6,9 @@
|
|||||||
, noDeps ? false
|
, noDeps ? false
|
||||||
, ... }@args:
|
, ... }@args:
|
||||||
let
|
let
|
||||||
disko = import ./. { };
|
disko = import ./. {
|
||||||
|
lib = pkgs.lib;
|
||||||
|
};
|
||||||
|
|
||||||
diskFormat = if flake != null then
|
diskFormat = if flake != null then
|
||||||
(pkgs.lib.attrByPath [ "diskoConfigurations" flakeAttr ] (builtins.abort "${flakeAttr} does not exist") (builtins.getFlake flake)) args
|
(pkgs.lib.attrByPath [ "diskoConfigurations" flakeAttr ] (builtins.abort "${flakeAttr} does not exist") (builtins.getFlake flake)) args
|
||||||
|
|||||||
Reference in new issue
Block a user