dotenv-linter: fix build on darwin

Add missing Security framework as input.

(cherry picked from commit bc776c4d36)
This commit is contained in:
Sebastián Mancilla
2022-07-09 23:43:55 -04:00
committed by github-actions[bot]
parent cf034a867e
commit b0ddef229a
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

@@ -3337,7 +3337,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;