diff --git a/pkgs/servers/gemini/stargazer/default.nix b/pkgs/servers/gemini/stargazer/default.nix index fdcd31777cf0..4dc0ba5cc0f5 100644 --- a/pkgs/servers/gemini/stargazer/default.nix +++ b/pkgs/servers/gemini/stargazer/default.nix @@ -1,8 +1,10 @@ { lib +, stdenv , fetchFromSourcehut , rustPlatform , installShellFiles , scdoc +, Security }: rustPlatform.buildRustPackage rec { @@ -22,6 +24,8 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ installShellFiles scdoc ]; + buildInputs = lib.optional stdenv.isDarwin Security; + postInstall = '' scdoc < doc/stargazer.scd > stargazer.1 scdoc < doc/stargazer-ini.scd > stargazer.ini.5 @@ -36,6 +40,5 @@ rustPlatform.buildRustPackage rec { license = licenses.agpl3Plus; changelog = "https://git.sr.ht/~zethra/stargazer/refs/${version}"; maintainers = with maintainers; [ gaykitty ]; - platforms = platforms.linux; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c6ad14c09721..8b6ba4b1bd58 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1697,7 +1697,9 @@ with pkgs; speedtest-rs = callPackage ../tools/networking/speedtest-rs { }; - stargazer = callPackage ../servers/gemini/stargazer { }; + stargazer = callPackage ../servers/gemini/stargazer { + inherit (darwin.apple_sdk.frameworks) Security; + }; steamtinkerlaunch = callPackage ../tools/games/steamtinkerlaunch { };