From d9cb907af48e27fb7a79567ae3d811840106053a Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 10 Nov 2024 21:32:04 -0800 Subject: [PATCH] stargazer: use new Darwin SDK pattern --- pkgs/servers/gemini/stargazer/default.nix | 4 ---- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/pkgs/servers/gemini/stargazer/default.nix b/pkgs/servers/gemini/stargazer/default.nix index 4c6b178ae37b..3bc5bc00632c 100644 --- a/pkgs/servers/gemini/stargazer/default.nix +++ b/pkgs/servers/gemini/stargazer/default.nix @@ -1,10 +1,8 @@ { lib -, stdenv , fetchFromSourcehut , rustPlatform , installShellFiles , scdoc -, Security , nixosTests , nix-update-script }: @@ -29,8 +27,6 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ installShellFiles scdoc ]; - buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security; - postInstall = '' scdoc < doc/stargazer.scd > stargazer.1 scdoc < doc/stargazer-ini.scd > stargazer.ini.5 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4eccb58633ab..8cebad838ef1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1088,9 +1088,7 @@ with pkgs; jdk = jdk8; }; - stargazer = callPackage ../servers/gemini/stargazer { - inherit (darwin.apple_sdk.frameworks) Security; - }; + stargazer = callPackage ../servers/gemini/stargazer { }; supermin = callPackage ../tools/virtualization/supermin { ocamlPackages = ocaml-ng.ocamlPackages_4_14;