mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
stork: unbreak on x86_64-darwin
This commit is contained in:
parent
815e8e0a94
commit
593fe790e7
@ -4,7 +4,7 @@
|
||||
, openssl
|
||||
, pkg-config
|
||||
, stdenv
|
||||
, darwin
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -23,15 +23,12 @@ rustPlatform.buildRustPackage rec {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
||||
++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Impossibly fast web search, made for static sites";
|
||||
homepage = "https://github.com/jameslittle230/stork";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ chuahou ];
|
||||
# TODO: Remove once nixpkgs uses macOS SDK 10.14+ for x86_64-darwin
|
||||
# Undefined symbols for architecture x86_64: "_SecTrustEvaluateWithError"
|
||||
broken = stdenv.isDarwin && stdenv.isx86_64;
|
||||
};
|
||||
}
|
||||
|
@ -37233,7 +37233,9 @@ with pkgs;
|
||||
|
||||
sticky = callPackage ../applications/misc/sticky { };
|
||||
|
||||
stork = callPackage ../applications/misc/stork { };
|
||||
stork = darwin.apple_sdk_11_0.callPackage ../applications/misc/stork {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) Security;
|
||||
};
|
||||
|
||||
superd = callPackage ../misc/superd { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user