diff options
| author | Zhaofeng Li <hello@zhaofeng.li> | 2021-06-11 19:06:07 -0700 |
|---|---|---|
| committer | Servilio Afre Puentes <servilio@gmail.com> | 2021-07-20 01:03:25 -0400 |
| commit | 21ffa4a1b366edafd53c67fc6be1f2a496972782 (patch) | |
| tree | 23f60d599ee7be05d5a4c64c2b4d4b10d94f9b4f | |
| parent | mesa: fix darwin build (diff) | |
| download | nixpkgs-21ffa4a1b366edafd53c67fc6be1f2a496972782.tar.gz | |
mesa: Add patch for RISC-V driver selection
| -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 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 |
