···69 package = mkOption {
70 type = types.package;
71 internal = true;
072 description = lib.mdDoc ''
73 The package that provides the OpenGL implementation.
000074 '';
75 };
76-77 package32 = mkOption {
78 type = types.package;
79 internal = true;
080 description = lib.mdDoc ''
81- The package that provides the 32-bit OpenGL implementation on
82- 64-bit systems. Used when {option}`driSupport32Bit` is
83- set.
00000000000084 '';
00000000000085 };
8687 extraPackages = mkOption {
···97 :::
98 '';
99 };
100-101 extraPackages32 = mkOption {
102 type = types.listOf types.package;
103 default = [];
···152153 environment.sessionVariables.LD_LIBRARY_PATH = mkIf cfg.setLdLibraryPath
154 ([ "/run/opengl-driver/lib" ] ++ optional cfg.driSupport32Bit "/run/opengl-driver-32/lib");
155-156- hardware.opengl.package = mkDefault pkgs.mesa.drivers;
157- hardware.opengl.package32 = mkDefault pkgs.pkgsi686Linux.mesa.drivers;
158159 boot.extraModulePackages = optional (elem "virtualbox" videoDrivers) kernelPackages.virtualboxGuestAdditions;
160 };
···69 package = mkOption {
70 type = types.package;
71 internal = true;
72+ default = cfg.mesaPackage;
73 description = lib.mdDoc ''
74 The package that provides the OpenGL implementation.
75+76+ The default is Mesa's drivers which should cover all OpenGL-capable
77+ hardware. If you want to use another Mesa version, adjust
78+ {option}`mesaPackage`.
79 '';
80 };
081 package32 = mkOption {
82 type = types.package;
83 internal = true;
84+ default = cfg.mesaPackage32;
85 description = lib.mdDoc ''
86+ Same as {option}`package` but for the 32-bit OpenGL implementation on
87+ 64-bit systems. Used when {option}`driSupport32Bit` is set.
88+ '';
89+ };
90+91+ mesaPackage = mkOption {
92+ type = types.package;
93+ default = pkgs.mesa_23;
94+ defaultText = literalExpression "pkgs.mesa_23";
95+ example = literalExpression "pkgs.mesa_22";
96+ description = lib.mdDoc ''
97+ The Mesa driver package used for rendering support on the system.
98+99+ You should only need to adjust this if you require a newer Mesa
100+ version for your hardware or because you need to patch a bug.
101 '';
102+ apply = mesa: mesa.drivers or throw "`mesa` package must have a `drivers` output.";
103+ };
104+ mesaPackage32 = mkOption {
105+ type = types.package;
106+ default = pkgs.pkgsi686Linux.mesa_23;
107+ defaultText = literalExpression "pkgs.pkgsi686Linux.mesa_23";
108+ example = literalExpression "pkgs.pkgsi686Linux.mesa_22";
109+ description = lib.mdDoc ''
110+ Same as {option}`mesaPackage` but for the 32-bit Mesa on 64-bit
111+ systems. Used when {option}`driSupport32Bit` is set.
112+ '';
113+ apply = mesa: mesa.drivers or throw "`mesa` package must have a `drivers` output.";
114 };
115116 extraPackages = mkOption {
···126 :::
127 '';
128 };
0129 extraPackages32 = mkOption {
130 type = types.listOf types.package;
131 default = [];
···180181 environment.sessionVariables.LD_LIBRARY_PATH = mkIf cfg.setLdLibraryPath
182 ([ "/run/opengl-driver/lib" ] ++ optional cfg.driSupport32Bit "/run/opengl-driver-32/lib");
000183184 boot.extraModulePackages = optional (elem "virtualbox" videoDrivers) kernelPackages.virtualboxGuestAdditions;
185 };
···1+Replaces the legacy DES crypt hash used in tests with a stronger
2+bcrypt function, as crypt() in pkgs.perl no longer supports DES
3+4+# htpasswd -nbB mufasa "Circle of Life"
5+6+diff --git a/t/lib/TestApp/htpasswd b/t/lib/TestApp/htpasswd
7+index 6cec784..91e5375 100644
8+--- a/t/lib/TestApp/htpasswd
9++++ b/t/lib/TestApp/htpasswd
10+@@ -1 +1 @@
11+-mufasa:Y7hn4ncIVPOuI
12++mufasa:$2y$05$.KPC4Gja9L5AxJATDQBzs.lCHkm49l/9dcoyPcJg0JhyIvsD6Gqza
···53 --prefix PATH : "${wrapperPath}" \
54 --set GOPASS_NO_REMINDER true
55 '';
0005657 meta = with lib; {
58 description = "The slightly more awesome Standard Unix Password Manager for Teams. Written in Go";
···53 --prefix PATH : "${wrapperPath}" \
54 --set GOPASS_NO_REMINDER true
55 '';
56+ passthru = {
57+ inherit wrapperPath;
58+ };
5960 meta = with lib; {
61 description = "The slightly more awesome Standard Unix Password Manager for Teams. Written in Go";