Merge pull request #180922 from smancill/dotenv-linter-darwin

dotenv-linter: fix build on darwin
This commit is contained in:
Rick van Schijndel 2022-07-10 20:08:17 +02:00 committed by GitHub
commit 993d4345a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,7 @@
, lib
, rustPlatform
, fetchFromGitHub
, Security
}:
rustPlatform.buildRustPackage rec {
@ -17,8 +18,9 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-q59hpnXc00OzrJk1KOWbIPQYfIE+7ku9XtTDXHgwQBg=";
buildInputs = lib.optional stdenv.isDarwin Security;
meta = with lib; {
broken = stdenv.isDarwin;
description = "Lightning-fast linter for .env files. Written in Rust";
homepage = "https://dotenv-linter.github.io";
license = licenses.mit;

View File

@ -3535,7 +3535,9 @@ with pkgs;
dosage = callPackage ../applications/graphics/dosage { };
dotenv-linter = callPackage ../development/tools/analysis/dotenv-linter { };
dotenv-linter = callPackage ../development/tools/analysis/dotenv-linter {
inherit (darwin.apple_sdk.frameworks) Security;
};
inherit (ocamlPackages) dot-merlin-reader;