Skip to content

Commit

Permalink
otel-desktop-viewer: fix darwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
ofalvai committed Oct 27, 2024
1 parent cae0fd4 commit 184361b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/by-name/ot/otel-desktop-viewer/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
, fetchFromGitHub
, testers
, otel-desktop-viewer
, stdenv
, apple-sdk_12
}:

buildGoModule rec {
Expand All @@ -25,6 +27,8 @@ buildGoModule rec {

ldflags = [ "-s" "-w" ];

buildInputs = lib.optional stdenv.isDarwin apple-sdk_12;

passthru.tests.version = testers.testVersion {
inherit version;
package = otel-desktop-viewer;
Expand Down

0 comments on commit 184361b

Please sign in to comment.