cmd/planterette: remove hsu special case

Remove special case and invoke hakurei out of process.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-06-25 20:44:49 +09:00
parent 7007bd6a1c
commit aa454b158f
20 changed files with 101 additions and 85 deletions

View File

@@ -13,7 +13,7 @@
wayland-scanner,
xorg,
# for fpkg
# for planterette
zstd,
gnutar,
coreutils,
@@ -76,6 +76,7 @@ buildGoModule rec {
)
{
version = "v${version}";
hakurei = "${placeholder "out"}/libexec/hakurei";
hsu = "/run/wrappers/bin/hsu";
};
@@ -116,7 +117,7 @@ buildGoModule rec {
makeBinaryWrapper "$out/libexec/hakurei" "$out/bin/hakurei" \
--inherit-argv0 --prefix PATH : ${lib.makeBinPath appPackages}
makeBinaryWrapper "$out/libexec/fpkg" "$out/bin/fpkg" \
makeBinaryWrapper "$out/libexec/planterette" "$out/bin/planterette" \
--inherit-argv0 --prefix PATH : ${
lib.makeBinPath (
appPackages