Unverified Commit ed166818 authored by Robert Scott's avatar Robert Scott Committed by GitHub
Browse files

gotraceui: fix build (#406789)

parents 002ebbc4 6a8e9b40
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
  libxkbcommon,
  vulkan-headers,
  wayland,
  fetchpatch,
}:

buildGoModule rec {
@@ -19,11 +20,19 @@ buildGoModule rec {
  src = fetchFromGitHub {
    owner = "dominikh";
    repo = "gotraceui";
    rev = "v${version}";
    tag = "v${version}";
    sha256 = "sha256-Rforuh9YlTv/mTpQm0+BaY+Ssc4DAiDCzVkIerP5Uz0=";
  };

  vendorHash = "sha256-dNV5u6BG+2Nzci6dX/4/4WAeM/zXE5+Ix0HqIsNnm0E=";
  patches = [
    (fetchpatch {
      name = "switch-to-gio-fork.patch";
      url = "https://github.com/dominikh/gotraceui/commit/00289f5f4c1da3e13babd2389e533b069cd18e3c.diff";
      hash = "sha256-dxsVMjyKkRG4Q6mONlJAohWJ8YTu8KN7ynPVycJhcs8=";
    })
  ];

  vendorHash = "sha256-9rzcSxlOuQC5bt1kZuRX7CTQaDHKrtGRpMNLrOHTjJk=";
  subPackages = [ "cmd/gotraceui" ];

  nativeBuildInputs = [ pkg-config ];