Merge pull request #88 from nix-community/fixup

This commit is contained in:
Lassulus 2022-12-23 19:29:03 +01:00 committed by GitHub
commit 1ecb428c86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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