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