mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53: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 {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "bindle";
|
pname = "bindle";
|
||||||
@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
doCheck = false; # Tests require a network
|
doCheck = false; # Tests require a network
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ openssl ] ++ lib.optional stdenv.hostPlatform.isDarwin Security;
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
cargoHash = "sha256-RECEeo0uoGO5bBe+r++zpTjYYX3BIkT58uht2MLYkN0=";
|
cargoHash = "sha256-RECEeo0uoGO5bBe+r++zpTjYYX3BIkT58uht2MLYkN0=";
|
||||||
|
|
||||||
|
@ -192,9 +192,7 @@ with pkgs;
|
|||||||
|
|
||||||
appimageupdate-qt = appimageupdate.override { withQtUI = true; };
|
appimageupdate-qt = appimageupdate.override { withQtUI = true; };
|
||||||
|
|
||||||
bindle = callPackage ../servers/bindle {
|
bindle = callPackage ../servers/bindle { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
stripJavaArchivesHook = makeSetupHook {
|
stripJavaArchivesHook = makeSetupHook {
|
||||||
name = "strip-java-archives-hook";
|
name = "strip-java-archives-hook";
|
||||||
|
Loading…
Reference in New Issue
Block a user