diff --git a/pkgs/development/tools/analysis/dotenv-linter/default.nix b/pkgs/development/tools/analysis/dotenv-linter/default.nix index f1cf795d2e78..fdd4d84673b5 100644 --- a/pkgs/development/tools/analysis/dotenv-linter/default.nix +++ b/pkgs/development/tools/analysis/dotenv-linter/default.nix @@ -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; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 28ef3d0f618a..f0b772d610ad 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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;