diff options
Diffstat (limited to 'modules/nixos/features/nvk/mesa.nix')
| -rw-r--r-- | modules/nixos/features/nvk/mesa.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/nixos/features/nvk/mesa.nix b/modules/nixos/features/nvk/mesa.nix index a00bb56..fe036d7 100644 --- a/modules/nixos/features/nvk/mesa.nix +++ b/modules/nixos/features/nvk/mesa.nix @@ -136,13 +136,17 @@ ] else ["auto"]; }) - .overrideAttrs (new: old: { - version = "24.0.0-rc1"; + .overrideAttrs (_new: old: let + # for some reason this version string won't work with + # system.replaceRuntimeDependencies /shrug + actualVersion = "24.0.0-rc1"; + in { + version = "24.0.0"; src = pkgs.fetchurl { urls = [ - "https://archive.mesa3d.org/mesa-${new.version}.tar.xz" - "https://mesa.freedesktop.org/archive/mesa-${new.version}.tar.xz" + "https://archive.mesa3d.org/mesa-${actualVersion}.tar.xz" + "https://mesa.freedesktop.org/archive/mesa-${actualVersion}.tar.xz" ]; hash = "sha256-hvsZnrrNlztnUjgdbTnyOLg+V749aVeMOCQ1OkCujO4="; |
