From 33a700b406d0d5056079cc5a9ce7c78aae28e5d5 Mon Sep 17 00:00:00 2001 From: Atemu Date: Tue, 28 Feb 2023 23:24:40 +0100 Subject: mesa: provide patch versions This allows us to bump the mesa attribute (used by many packages, see https://github.com/NixOS/nixpkgs/issues/218232) independently from the packages used by NixOS users. --- nixos/modules/hardware/opengl.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nixos/modules/hardware') diff --git a/nixos/modules/hardware/opengl.nix b/nixos/modules/hardware/opengl.nix index 2193f01613df9..c16fbe3f77f00 100644 --- a/nixos/modules/hardware/opengl.nix +++ b/nixos/modules/hardware/opengl.nix @@ -90,8 +90,8 @@ in mesaPackage = mkOption { type = types.package; - default = pkgs.mesa; - defaultText = literalExpression "pkgs.mesa"; + default = pkgs.mesa_22; + defaultText = literalExpression "pkgs.mesa_22"; example = literalExpression "pkgs.mesa_23"; description = lib.mdDoc '' The Mesa driver package used for rendering support on the system. @@ -103,8 +103,8 @@ in }; mesaPackage32 = mkOption { type = types.package; - default = pkgs.pkgsi686Linux.mesa; - defaultText = literalExpression "pkgs.pkgsi686Linux.mesa"; + default = pkgs.pkgsi686Linux.mesa_22; + defaultText = literalExpression "pkgs.pkgsi686Linux.mesa_22"; example = literalExpression "pkgs.pkgsi686Linux.mesa_23"; description = lib.mdDoc '' Same as {option}`mesaPackage` but for the 32-bit Mesa on 64-bit -- cgit 1.4.1