Merge pull request #88 from nix-community/fixup

This commit is contained in:
Lassulus authored and GitHub committed 2022-12-23 19:29:03 +01:00
commit 1ecb428c86
1 file changed
+3 -1
+3 -1
View File
@@ -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