mesa: Add patch for RISC-V driver selection

This commit is contained in:
Zhaofeng Li 2021-06-11 19:06:07 -07:00 committed by Servilio Afre Puentes
parent 89ed4b143d
commit 21ffa4a1b3
1 changed files with 5 additions and 0 deletions

View File

@ -64,6 +64,11 @@ self = stdenv.mkDerivation {
url = "https://gitlab.freedesktop.org/mesa/mesa/commit/aebbf819df6d1e.patch";
sha256 = "17248hyzg43d73c86p077m4lv1pkncaycr3l27hwv9k4ija9zl8q";
})
(fetchpatch {
name = "add-riscv-default-selections.patch";
url = "https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11346.patch";
sha256 = "1nwqslr1g6m83i0r40710havkyf03yxkgaiwgxz2zlw2xkbrnzw0";
})
] ++ optionals (stdenv.isDarwin && stdenv.isAarch64) [
# Fix aarch64-darwin build, remove when upstreaam supports it out of the box.
# See: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1020