bindle: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni 2024-11-09 21:31:36 -08:00
parent 76e387b030
commit 6fc16edd8d
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security, pkg-config, openssl }:
{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl }:
rustPlatform.buildRustPackage rec {
pname = "bindle";
@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
doCheck = false; # Tests require a network
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optional stdenv.hostPlatform.isDarwin Security;
buildInputs = [ openssl ];
cargoHash = "sha256-RECEeo0uoGO5bBe+r++zpTjYYX3BIkT58uht2MLYkN0=";

View File

@ -192,9 +192,7 @@ with pkgs;
appimageupdate-qt = appimageupdate.override { withQtUI = true; };
bindle = callPackage ../servers/bindle {
inherit (darwin.apple_sdk.frameworks) Security;
};
bindle = callPackage ../servers/bindle { };
stripJavaArchivesHook = makeSetupHook {
name = "strip-java-archives-hook";