diff --git a/pkgs/by-name/zl/zls/package.nix b/pkgs/by-name/zl/zls/package.nix index b685a66a2b08..c9aec483df8c 100644 --- a/pkgs/by-name/zl/zls/package.nix +++ b/pkgs/by-name/zl/zls/package.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , zig_0_13 , callPackage +, apple-sdk_11, }: stdenv.mkDerivation (finalAttrs: { @@ -23,6 +24,8 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ zig_0_13.hook ]; + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ]; + postPatch = '' ln -s ${callPackage ./deps.nix { }} $ZIG_GLOBAL_CACHE_DIR/p '';