forked from clan/clan-core
Merge pull request 'clanCore: Fixed missing type null for clanIcon' (#634) from Qubasa-main into main
This commit is contained in:
commit
9f4ab67fc2
@ -33,7 +33,7 @@
|
||||
'';
|
||||
};
|
||||
clanIcon = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
type = lib.types.nullOr lib.types.path;
|
||||
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