forked from clan/clan-core
clanCore: Fixed missing type null for clanIcon
This commit is contained in:
parent
eba34bf2f7
commit
d6052c3497
@ -33,7 +33,7 @@
|
||||
'';
|
||||
};
|
||||
clanIcon = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
type = lib.types.either lib.types.path lib.types.null;
|
||||
description = ''
|
||||
the location of the clan icon
|
||||
'';
|
||||
|
@ -82,6 +82,7 @@ def nix_eval(flags: list[str]) -> list[str]:
|
||||
return default_flags + flags
|
||||
|
||||
|
||||
@deal.raises(ClanError)
|
||||
def nix_metadata(flake: str) -> dict[str, Any]:
|
||||
cmd = nix_command(["flake", "metadata", "--json", flake])
|
||||
proc = subprocess.run(cmd, check=True, text=True, stdout=subprocess.PIPE)
|
||||
|
Loading…
Reference in New Issue
Block a user