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

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Yureka 2023-05-28 19:39:25 +02:00 committed by GitHub
parent c9f301d348
commit 6aab92f42a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ 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