Merge pull request #183765 from kidonng/patch-2

This commit is contained in:
Sandro 2022-07-30 19:15:56 +02:00 committed by GitHub
commit 6051763b72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -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;
};
}

View file

@ -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 { };