gdlv: fix darwin build

This commit is contained in:
Stanisław Pitucha 2022-10-17 22:09:59 +11:00
parent ab6176ac5b
commit ba6bcacacc
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

@ -25117,8 +25117,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 { };