ntfy-sh: fix sh not found in subscribe command (#517319)

This commit is contained in:
nixpkgs-ci[bot]
2026-05-07 06:52:53 +00:00
committed by GitHub
+7
View File
@@ -8,6 +8,7 @@
mkdocs,
python3,
python3Packages,
runtimeShell,
}:
buildGoModule (
@@ -71,6 +72,12 @@ buildGoModule (
postPatch = ''
sed -i 's# /bin/echo# echo#' Makefile
substituteInPlace \
cmd/subscribe_unix.go \
cmd/subscribe_darwin.go \
--replace \
'scriptLauncher = []string{"sh", "-c"}' \
'scriptLauncher = []string{"${runtimeShell}", "-c"}'
'';
preBuild = ''