Commit 7d868a71 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

intel-gpu-tools: backport fix for musl 1.2.5

parent be3482bb
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitLab
, fetchpatch

# build time
, bison
@@ -52,6 +53,14 @@ stdenv.mkDerivation rec {
    hash = "sha256-t6DeFmIgTomMNwE53n5JicnvuCd/QfpNYWCdwPwc30E=";
  };

  patches = [
    (fetchpatch {
      name = "basename.patch";
      url = "https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/commit/604dec781ef283885f65968358bd9ae88c5193c3.patch";
      hash = "sha256-zU6U9uuTDvuADVYmT9sMYA85Xgtvqgy378LvWFDVEJw=";
    })
  ];

  nativeBuildInputs = [
    bison
    docbook_xsl