diff options
author | Zhaofeng Li <hello@zhaofeng.li> | 2021-06-11 19:06:07 -0700 |
---|---|---|
committer | Zhaofeng Li <hello@zhaofeng.li> | 2021-06-12 23:17:13 -0700 |
commit | f885e987ef7bae172699ece3ef37c4473d88bd5a (patch) | |
tree | 2a432cb15dbe6c44861005faff3425b6c1da7e87 /pkgs/development/libraries/mesa | |
parent | 1f007dd0096a11d46bd3a26e18cd7c04313d7277 (diff) | |
download | nixpkgs-f885e987ef7bae172699ece3ef37c4473d88bd5a.tar nixpkgs-f885e987ef7bae172699ece3ef37c4473d88bd5a.tar.gz nixpkgs-f885e987ef7bae172699ece3ef37c4473d88bd5a.tar.bz2 nixpkgs-f885e987ef7bae172699ece3ef37c4473d88bd5a.tar.lz nixpkgs-f885e987ef7bae172699ece3ef37c4473d88bd5a.tar.xz nixpkgs-f885e987ef7bae172699ece3ef37c4473d88bd5a.tar.zst nixpkgs-f885e987ef7bae172699ece3ef37c4473d88bd5a.zip |
mesa: Add patch for RISC-V driver selection
Diffstat (limited to 'pkgs/development/libraries/mesa')
-rw-r--r-- | pkgs/development/libraries/mesa/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix index 01d73543653..0e24d27b0d7 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 |