diff --git a/pkgs/by-name/ot/otel-desktop-viewer/package.nix b/pkgs/by-name/ot/otel-desktop-viewer/package.nix index e8dc8f1844355..c8a7e0b339489 100644 --- a/pkgs/by-name/ot/otel-desktop-viewer/package.nix +++ b/pkgs/by-name/ot/otel-desktop-viewer/package.nix @@ -3,6 +3,8 @@ , fetchFromGitHub , testers , otel-desktop-viewer +, stdenv +, apple-sdk_12 }: buildGoModule rec { @@ -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;