···6969 package = mkOption {
7070 type = types.package;
7171 internal = true;
7272+ default = cfg.mesaPackage;
7273 description = lib.mdDoc ''
7374 The package that provides the OpenGL implementation.
7575+7676+ The default is Mesa's drivers which should cover all OpenGL-capable
7777+ hardware. If you want to use another Mesa version, adjust
7878+ {option}`mesaPackage`.
7479 '';
7580 };
7676-7781 package32 = mkOption {
7882 type = types.package;
7983 internal = true;
8484+ default = cfg.mesaPackage32;
8085 description = lib.mdDoc ''
8181- The package that provides the 32-bit OpenGL implementation on
8282- 64-bit systems. Used when {option}`driSupport32Bit` is
8383- set.
8686+ Same as {option}`package` but for the 32-bit OpenGL implementation on
8787+ 64-bit systems. Used when {option}`driSupport32Bit` is set.
8888+ '';
8989+ };
9090+9191+ mesaPackage = mkOption {
9292+ type = types.package;
9393+ default = pkgs.mesa_23;
9494+ defaultText = literalExpression "pkgs.mesa_23";
9595+ example = literalExpression "pkgs.mesa_22";
9696+ description = lib.mdDoc ''
9797+ The Mesa driver package used for rendering support on the system.
9898+9999+ You should only need to adjust this if you require a newer Mesa
100100+ version for your hardware or because you need to patch a bug.
84101 '';
102102+ apply = mesa: mesa.drivers or throw "`mesa` package must have a `drivers` output.";
103103+ };
104104+ mesaPackage32 = mkOption {
105105+ type = types.package;
106106+ default = pkgs.pkgsi686Linux.mesa_23;
107107+ defaultText = literalExpression "pkgs.pkgsi686Linux.mesa_23";
108108+ example = literalExpression "pkgs.pkgsi686Linux.mesa_22";
109109+ description = lib.mdDoc ''
110110+ Same as {option}`mesaPackage` but for the 32-bit Mesa on 64-bit
111111+ systems. Used when {option}`driSupport32Bit` is set.
112112+ '';
113113+ apply = mesa: mesa.drivers or throw "`mesa` package must have a `drivers` output.";
85114 };
8611587116 extraPackages = mkOption {
···97126 :::
98127 '';
99128 };
100100-101129 extraPackages32 = mkOption {
102130 type = types.listOf types.package;
103131 default = [];
···152180153181 environment.sessionVariables.LD_LIBRARY_PATH = mkIf cfg.setLdLibraryPath
154182 ([ "/run/opengl-driver/lib" ] ++ optional cfg.driSupport32Bit "/run/opengl-driver-32/lib");
155155-156156- hardware.opengl.package = mkDefault pkgs.mesa.drivers;
157157- hardware.opengl.package32 = mkDefault pkgs.pkgsi686Linux.mesa.drivers;
158183159184 boot.extraModulePackages = optional (elem "virtualbox" videoDrivers) kernelPackages.virtualboxGuestAdditions;
160185 };
···11+Replaces the legacy DES crypt hash used in tests with a stronger
22+bcrypt function, as crypt() in pkgs.perl no longer supports DES
33+44+# htpasswd -nbB mufasa "Circle of Life"
55+66+diff --git a/t/lib/TestApp/htpasswd b/t/lib/TestApp/htpasswd
77+index 6cec784..91e5375 100644
88+--- a/t/lib/TestApp/htpasswd
99++++ b/t/lib/TestApp/htpasswd
1010+@@ -1 +1 @@
1111+-mufasa:Y7hn4ncIVPOuI
1212++mufasa:$2y$05$.KPC4Gja9L5AxJATDQBzs.lCHkm49l/9dcoyPcJg0JhyIvsD6Gqza