aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/hsu/package.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-06-25 20:44:49 +0900
committerOphestra <cat@gensokyo.uk>2025-06-25 20:50:24 +0900
commitaa454b158f3713b2ee47162837dcea1efdce0ee6 (patch)
tree71c9ebf64bf518311fccef1b9c0fc25d59778c26 /cmd/hsu/package.nix
parent7007bd6a1c022dee1951413b820a54f5b4271bbb (diff)
cmd/planterette: remove hsu special case
Remove special case and invoke hakurei out of process. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/hsu/package.nix')
-rw-r--r--cmd/hsu/package.nix15
1 files changed, 4 insertions, 11 deletions
diff --git a/cmd/hsu/package.nix b/cmd/hsu/package.nix
index 96ec5630..5fce566b 100644
--- a/cmd/hsu/package.nix
+++ b/cmd/hsu/package.nix
@@ -16,15 +16,8 @@ buildGoModule {
go mod init hsu >& /dev/null
'';
- ldflags =
- lib.attrsets.foldlAttrs
- (
- ldflags: name: value:
- ldflags ++ [ "-X main.${name}=${value}" ]
- )
- [ "-s -w" ]
- {
- hmain = "${hakurei}/libexec/hakurei";
- fpkg = "${hakurei}/libexec/fpkg";
- };
+ ldflags = lib.attrsets.foldlAttrs (
+ ldflags: name: value:
+ ldflags ++ [ "-X main.${name}=${value}" ]
+ ) [ "-s -w" ] { hmain = "${hakurei}/libexec/hakurei"; };
}