From b2ebddacdc339c4617db73d78757a8fe086a3ec9 Mon Sep 17 00:00:00 2001 From: r-vdp Date: Wed, 11 Sep 2024 16:58:55 +0200 Subject: [PATCH] wstunnel: fix darwin build --- pkgs/by-name/ws/wstunnel/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/ws/wstunnel/package.nix b/pkgs/by-name/ws/wstunnel/package.nix index d6c66e152bb6..ba3800abcd51 100644 --- a/pkgs/by-name/ws/wstunnel/package.nix +++ b/pkgs/by-name/ws/wstunnel/package.nix @@ -2,9 +2,11 @@ lib, fetchFromGitHub, rustPlatform, + stdenv, nixosTests, nix-update-script, versionCheckHook, + darwin, }: let @@ -25,6 +27,9 @@ rustPlatform.buildRustPackage { cargoHash = "sha256-3b+pX/qQuhOY1OYr+CfT5wtiJcEJ8CJJsQZ4QOcYv74="; nativeBuildInputs = [ versionCheckHook ]; + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ + darwin.apple_sdk.frameworks.CoreServices + ]; doInstallCheck = true;