lychee: fix build on darwin
This commit is contained in:
parent
be368bb836
commit
0309e44af5
|
@ -1,8 +1,10 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, openssl
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
@ -20,7 +22,8 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
# Disabled because they currently fail
|
||||
doCheck = false;
|
||||
|
@ -30,6 +33,5 @@ rustPlatform.buildRustPackage rec {
|
|||
homepage = "https://github.com/lycheeverse/lychee";
|
||||
license = with licenses; [ asl20 mit ];
|
||||
maintainers = with maintainers; [ tuxinaut ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5710,7 +5710,9 @@ with pkgs;
|
|||
|
||||
kramdown-asciidoc = callPackage ../tools/typesetting/kramdown-asciidoc { };
|
||||
|
||||
lychee = callPackage ../tools/networking/lychee { };
|
||||
lychee = callPackage ../tools/networking/lychee {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
magic-vlsi = callPackage ../applications/science/electronics/magic-vlsi { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue