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 { lib
, stdenv
, fetchFromSourcehut , fetchFromSourcehut
, rustPlatform , rustPlatform
, installShellFiles , installShellFiles
, scdoc , scdoc
, Security
, nixosTests , nixosTests
, nix-update-script , nix-update-script
}: }:
@ -29,8 +27,6 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ installShellFiles scdoc ]; nativeBuildInputs = [ installShellFiles scdoc ];
buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
postInstall = '' postInstall = ''
scdoc < doc/stargazer.scd > stargazer.1 scdoc < doc/stargazer.scd > stargazer.1
scdoc < doc/stargazer-ini.scd > stargazer.ini.5 scdoc < doc/stargazer-ini.scd > stargazer.ini.5

View File

@ -1088,9 +1088,7 @@ with pkgs;
jdk = jdk8; jdk = jdk8;
}; };
stargazer = callPackage ../servers/gemini/stargazer { stargazer = callPackage ../servers/gemini/stargazer { };
inherit (darwin.apple_sdk.frameworks) Security;
};
supermin = callPackage ../tools/virtualization/supermin { supermin = callPackage ../tools/virtualization/supermin {
ocamlPackages = ocaml-ng.ocamlPackages_4_14; ocamlPackages = ocaml-ng.ocamlPackages_4_14;