Skip to content

Commit

Permalink
fix vercel-log-drain on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetrucciani committed Aug 5, 2024
1 parent 8721f67 commit 97ea8cd
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions pkgs/server/vercel-log-drain.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,14 @@
, stdenv
, darwin
}:

let
osSpecific =
if stdenv.isDarwin then
(with darwin.apple_sdk.frameworks; [
Security
SystemConfiguration
]) else [ ];
in
rustPlatform.buildRustPackage {
pname = "vercel-log-drain";
version = "0.0.3";
Expand All @@ -27,12 +34,10 @@ rustPlatform.buildRustPackage {

buildInputs = [
openssl
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
] ++ osSpecific;

meta = with lib; {
description = "A simple log-drain you can deploy to export log messages from Vercel to AWS Cloudwatch";
description = "A simple log-drain you can deploy to export log messages from Vercel to one or more outputs";
homepage = "https://github.com/dacbd/vercel-log-drain";
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
Expand Down

0 comments on commit 97ea8cd

Please sign in to comment.