mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
23 lines
768 B
Plaintext
23 lines
768 B
Plaintext
From ac12649151df3f5397fb47bbac4755f6b629be16 Mon Sep 17 00:00:00 2001
|
|
From: Al Hoang <13622+hoanga@users.noreply.github.com>
|
|
Date: Mon, 19 May 2025 04:18:55 +0000
|
|
Subject: add haiku to os options
|
|
|
|
|
|
diff --git a/dist/nimble/src/nimblepkg/downloadnim.nim b/dist/nimble/src/nimblepkg/downloadnim.nim
|
|
index 03614ff..6ef5c26 100644
|
|
--- a/dist/nimble/src/nimblepkg/downloadnim.nim
|
|
+++ b/dist/nimble/src/nimblepkg/downloadnim.nim
|
|
@@ -140,6 +140,8 @@ proc getNightliesUrl*(parsedContents: JsonNode, arch: int): (string, string) =
|
|
"osx"
|
|
elif defined(freebsd):
|
|
"freebsd"
|
|
+ elif defined(haiku):
|
|
+ "haiku"
|
|
for jn in parsedContents.getElems():
|
|
if jn["name"].getStr().contains("devel"):
|
|
let tagName = jn{"tag_name"}.getStr("")
|
|
--
|
|
2.48.1
|
|
|