bindle: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni
2024-11-11 00:08:42 -08:00
parent 76e387b030
commit 6fc16edd8d
2 changed files with 3 additions and 5 deletions
+2 -2
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=";
+1 -3
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";