From 33e303272a16e45efd2a9b49e5b75a287cece895 Mon Sep 17 00:00:00 2001 From: binwiederhier Date: Wed, 3 Jun 2026 21:33:18 -0400 Subject: [PATCH] Fix macOS build --- cmd/serve_unix.go | 2 +- docs/releases.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/serve_unix.go b/cmd/serve_unix.go index 01f0eb5e..cdb1bb63 100644 --- a/cmd/serve_unix.go +++ b/cmd/serve_unix.go @@ -1,4 +1,4 @@ -//go:build darwin || linux || dragonfly || freebsd || netbsd || openbsd +//go:build (darwin || linux || dragonfly || freebsd || netbsd || openbsd) && !noserver package cmd diff --git a/docs/releases.md b/docs/releases.md index 2d9bf05b..5ed4bdf9 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -1936,6 +1936,7 @@ and the [ntfy Android app](https://github.com/binwiederhier/ntfy-android/release * Extend account token automatically from the PWA service worker, so installed PWAs don't get logged out ([#1669](https://github.com/binwiederhier/ntfy/pull/1669), [#1203](https://github.com/binwiederhier/ntfy/issues/1203), [#1533](https://github.com/binwiederhier/ntfy/issues/1533), thanks to [@nihalgonsalves](https://github.com/nihalgonsalves) for the contribution) * Fix `rel` attribute on auto-linked notification URLs so `noreferrer`/`noopener` are actually applied ([#1720](https://github.com/binwiederhier/ntfy/pull/1720), thanks to [@dmitrylyzo](https://github.com/dmitrylyzo) for the contribution) * Add systemd sandboxing/hardening to the `ntfy.service` unit ([#1467](https://github.com/binwiederhier/ntfy/pull/1467), thanks to [@Velocifyer](https://github.com/Velocifyer) for the contribution) +* Fix `cmd` package build on macOS (darwin) so the server compiles from source ([#1631](https://github.com/binwiederhier/ntfy/issues/1631), [#1696](https://github.com/binwiederhier/ntfy/pull/1696), thanks to [@ShipItAndPray](https://github.com/ShipItAndPray) for the contribution, and [@XYenon](https://github.com/XYenon) for reporting) ### ntfy Android v1.25.x (UNRELEASED)