aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-22 03:16:56 +0900
committerOphestra <cat@gensokyo.uk>2026-05-22 03:16:56 +0900
commit1389c770225450213264ae7c89253d467c54b388 (patch)
treed5142e63ef6c0f47d539867c973c3e33f1cc1d36
parente231341e48ef9a6dd85546e901fe4ea3ea8d9fb6 (diff)
internal/rosa/package/hakurei: 0.4.2 to 0.4.3
Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--internal/rosa/package/hakurei/2a9aa3b4007a73a6c9d4608cb9a8822247881fd6.patch61
-rw-r--r--internal/rosa/package/hakurei/package.az7
2 files changed, 2 insertions, 66 deletions
diff --git a/internal/rosa/package/hakurei/2a9aa3b4007a73a6c9d4608cb9a8822247881fd6.patch b/internal/rosa/package/hakurei/2a9aa3b4007a73a6c9d4608cb9a8822247881fd6.patch
deleted file mode 100644
index 58389048..00000000
--- a/internal/rosa/package/hakurei/2a9aa3b4007a73a6c9d4608cb9a8822247881fd6.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 2a9aa3b4007a73a6c9d4608cb9a8822247881fd6 Mon Sep 17 00:00:00 2001
-From: Ophestra <cat@gensokyo.uk>
-Date: Thu, 21 May 2026 23:34:50 +0900
-Subject: [PATCH] cmd/dist: include version in release
-
-This makes HAKUREI_VERSION optional during build.
-
-Signed-off-by: Ophestra <cat@gensokyo.uk>
----
- cmd/dist/VERSION | 1 +
- cmd/dist/main.go | 7 ++++++-
- flake.nix | 1 -
- 3 files changed, 7 insertions(+), 2 deletions(-)
- create mode 100644 cmd/dist/VERSION
-
-diff --git a/cmd/dist/VERSION b/cmd/dist/VERSION
-new file mode 100644
-index 00000000..0eec13e4
---- /dev/null
-+++ b/cmd/dist/VERSION
-@@ -0,0 +1 @@
-+v0.4.2
-diff --git a/cmd/dist/main.go b/cmd/dist/main.go
-index 9ed7f2f8..d876cf83 100644
---- a/cmd/dist/main.go
-+++ b/cmd/dist/main.go
-@@ -18,8 +18,13 @@ import (
- "os/signal"
- "path/filepath"
- "runtime"
-+ "strings"
- )
-
-+//go:generate sh -c "git describe --tags > VERSION"
-+//go:embed VERSION
-+var version string
-+
- // getenv looks up an environment variable, and returns fallback if it is unset.
- func getenv(key, fallback string) string {
- if v, ok := os.LookupEnv(key); ok {
-@@ -47,7 +52,7 @@ func main() {
-
- verbose := os.Getenv("VERBOSE") != ""
- runTests := os.Getenv("HAKUREI_DIST_MAKE") == ""
-- version := getenv("HAKUREI_VERSION", "untagged")
-+ version = getenv("HAKUREI_VERSION", strings.TrimSpace(version))
- prefix := getenv("PREFIX", "/usr")
- destdir := getenv("DESTDIR", "dist")
-
-diff --git a/flake.nix b/flake.nix
-index 4de35204..09520be2 100644
---- a/flake.nix
-+++ b/flake.nix
-@@ -139,7 +139,6 @@
- GOCACHE="$(mktemp -d)" \
- PATH="${pkgs.pkgsStatic.musl.bin}/bin:$PATH" \
- DESTDIR="$out" \
-- HAKUREI_VERSION="v${hakurei.version}" \
- ./all.sh
- '';
- }
diff --git a/internal/rosa/package/hakurei/package.az b/internal/rosa/package/hakurei/package.az
index f0d89150..d21cf282 100644
--- a/internal/rosa/package/hakurei/package.az
+++ b/internal/rosa/package/hakurei/package.az
@@ -2,11 +2,11 @@ package hakurei-source {
description = "hakurei source tree";
exclude = true;
- version* = "0.4.2";
+ version* = "0.4.3";
output = remoteTar {
url = "https://git.gensokyo.uk/rosa/hakurei/archive/"+
"v"+version+".tar.gz";
- checksum = "jadgaOrxv5ABGvzQ_Rk0aPGz7U8K-427TbMhQNQ32scSizEnlR44Pu7NoWYWVZWq";
+ checksum = "1LqBJIcYcAFTVfydCahOm4hjjKhY953X9ars0eQj32hnpNncWFefuT6OJpZzIlZv";
compress = gzip;
};
}
@@ -17,7 +17,6 @@ package hakurei {
anitya = 388834;
source = hakurei-source;
- patches = [ "2a9aa3b4007a73a6c9d4608cb9a8822247881fd6.patch" ];
enterSource = true;
writable = true;
chmod = true;
@@ -84,7 +83,6 @@ package hakurei-dist {
website = "https://hakurei.app";
source = hakurei-source;
- patches = [ "2a9aa3b4007a73a6c9d4608cb9a8822247881fd6.patch" ];
enterSource = true;
writable = true;
chmod = true;
@@ -132,7 +130,6 @@ package earlyinit {
exclude = true;
source = hakurei-source;
- patches = [ "2a9aa3b4007a73a6c9d4608cb9a8822247881fd6.patch" ];
enterSource = true;
writable = true;
chmod = true;