mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
bindle: use new Darwin SDK pattern
This commit is contained in:
parent
76e387b030
commit
6fc16edd8d
@ -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=";
|
||||
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user