Unverified Commit 6aab92f4 authored by Yureka's avatar Yureka Committed by GitHub
Browse files

pkgsMusl.intel-gpu-tools: fix build (#233223)



Co-authored-by: default avatarSandro <sandro.jaeckel@gmail.com>
parent c9f301d3
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitLab
, fetchpatch

# build time
, bison
@@ -52,6 +53,15 @@ stdenv.mkDerivation rec {
    hash = "sha256-7Z9Y7uUjtjdQbB+xV/fvO18xB18VV7fBZqw1fI7U0jQ=";
  };

  patches = [
    # fixes pkgsMusl.intel-gpu-tools
    # https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/138
    (fetchpatch {
      url = "https://raw.githubusercontent.com/void-linux/void-packages/111918317d06598fe1459dbe139923404f3f4b9d/srcpkgs/igt-gpu-tools/patches/musl.patch";
      hash = "sha256-cvtwZg7js7O/Ww7puBTfVzLRji2bHTyV91+PvpH8qrg=";
    })
  ];

  nativeBuildInputs = [
    bison
    docbook_xsl