mesa: revert to 22.0 on darwin

main
Vladimír Čunát 2 years ago
parent 7317f1e3e3
commit eb3469e526
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
  1. 8
      pkgs/development/libraries/mesa/default.nix

@ -34,7 +34,8 @@ with lib;
let
# Release calendar: https://www.mesa3d.org/release-calendar.html
# Release frequency: https://www.mesa3d.org/releasing.html#schedule
version = "22.1.1";
# 22.1 on darwin won't build: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6519
version = if stdenv.isDarwin then "22.0.4" else "22.1.1";
branch = versions.major version;
self = stdenv.mkDerivation {
@ -48,7 +49,10 @@ self = stdenv.mkDerivation {
"ftp://ftp.freedesktop.org/pub/mesa/${version}/mesa-${version}.tar.xz"
"ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz"
];
sha256 = "1w8fpki67238l4yc92hsnsh4402py9zspirbmirxp577zxjhi526";
sha256 = {
"22.1.1" = "1w8fpki67238l4yc92hsnsh4402py9zspirbmirxp577zxjhi526";
"22.0.4" = "1m0y8wgy48hmcidsr7sbk5hcw3v0qr8359fd2x34fvl2z9c1z5y7";
}.${version};
};
# TODO:

Loading…
Cancel
Save