diff options
author | Atemu <atemu.main@gmail.com> | 2023-02-28 23:24:40 +0100 |
---|---|---|
committer | Atemu <atemu.main@gmail.com> | 2023-03-25 21:08:50 +0100 |
commit | 33a700b406d0d5056079cc5a9ce7c78aae28e5d5 (patch) | |
tree | 0826ab1bce48b7d75db5d595d86fea23bc48f3d2 /nixos/modules/hardware | |
parent | bf1785d0a91d5d3bb0ef3c2afe031554f17a87e4 (diff) |
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.
Diffstat (limited to 'nixos/modules/hardware')
-rw-r--r-- | nixos/modules/hardware/opengl.nix | 8 |
1 files changed, 4 insertions, 4 deletions
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 |