Merge pull request #196402 from viraptor/gdlv-darwin

gdlv: fix darwin build
This commit is contained in:
Stanisław Pitucha 2022-10-19 15:39:53 +11:00 committed by GitHub
commit 7b38cb118c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View file

@ -1,4 +1,10 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub, OpenGL }:
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, OpenGL
, AppKit
}:
buildGoModule rec {
pname = "gdlv";
@ -14,7 +20,7 @@ buildGoModule rec {
vendorSha256 = null;
subPackages = ".";
buildInputs = lib.optionals stdenv.isDarwin [ OpenGL ];
buildInputs = lib.optionals stdenv.isDarwin [ OpenGL AppKit ];
meta = with lib; {
description = "GUI frontend for Delve";

View file

@ -25135,8 +25135,8 @@ with pkgs;
ginkgo = callPackage ../development/tools/ginkgo { };
gdlv = callPackage ../development/tools/gdlv {
inherit (darwin.apple_sdk.frameworks) OpenGL;
gdlv = darwin.apple_sdk_11_0.callPackage ../development/tools/gdlv {
inherit (darwin.apple_sdk_11_0.frameworks) OpenGL AppKit;
};
go-bindata = callPackage ../development/tools/go-bindata { };