mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2026-02-02 17:35:08 +01:00
Merge pull request #88 from nix-community/fixup
This commit is contained in:
commit
1ecb428c86
1 changed files with 3 additions and 1 deletions
4
cli.nix
4
cli.nix
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue