stargazer: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni 2024-11-10 21:32:04 -08:00
parent 290355ff24
commit d9cb907af4
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
2 changed files with 1 additions and 7 deletions

View File

@ -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

View File

@ -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;