mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
dotenv-linter: fix build on darwin
Add missing Security framework as input.
(cherry picked from commit bc776c4d36)
This commit is contained in:
committed by
github-actions[bot]
parent
cf034a867e
commit
b0ddef229a
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user