From 184361bbfbd4fce1ca4fb00c3356befc98996879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliv=C3=A9r=20Falvai?= Date: Sun, 27 Oct 2024 20:09:11 +0100 Subject: [PATCH] otel-desktop-viewer: fix darwin build --- pkgs/by-name/ot/otel-desktop-viewer/package.nix | 4 ++++ 1 file changed, 4 insertions(+) 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;