summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhaofeng Li <hello@zhaofeng.li>2021-06-11 19:06:07 -0700
committerServilio Afre Puentes <servilio@gmail.com>2021-07-20 01:03:25 -0400
commit21ffa4a1b366edafd53c67fc6be1f2a496972782 (patch)
tree23f60d599ee7be05d5a4c64c2b4d4b10d94f9b4f
parentmesa: fix darwin build (diff)
downloadnixpkgs-21ffa4a1b366edafd53c67fc6be1f2a496972782.tar.gz
mesa: Add patch for RISC-V driver selection
-rw-r--r--pkgs/development/libraries/mesa/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix
index 32538bc5f216..9c4b0dd31c3e 100644
--- a/pkgs/development/libraries/mesa/default.nix
+++ b/pkgs/development/libraries/mesa/default.nix
@@ -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