Merge pull request #180922 from smancill/dotenv-linter-darwin
dotenv-linter: fix build on darwin
This commit is contained in:
commit
993d4345a7
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -3535,7 +3535,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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue