aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/package.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/package.nim b/src/package.nim
index 699aee5..ce74303 100644
--- a/src/package.nim
+++ b/src/package.nim
@@ -193,6 +193,7 @@ proc parseSrcInfoName(repo: string, name: string, rpcInfos: seq[RpcPackageInfo],
proc collectArch(keyName: string, arch: Option[string]): seq[ArchPackageReference] =
collect(arch.map(a => keyName & "_" & a).get(keyName))
.map(splitConstraint)
+ .filter(c => c.name.len > 0)
.map(c => (arch, (c.name, c.description, c.constraint)))
proc collectArchs(keyName: string, archs: seq[string]): seq[ArchPackageReference] =