dotenv-linter: fix build on darwin

Add missing Security framework as input.
This commit is contained in:
Sebastián Mancilla 2022-07-09 23:43:55 -04:00
parent 0f234e382c
commit bc776c4d36
2 changed files with 6 additions and 2 deletions

View File

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

View File

@ -3532,7 +3532,9 @@ with pkgs;
dosage = callPackage ../applications/graphics/dosage { }; 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; inherit (ocamlPackages) dot-merlin-reader;