File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
nixos/modules/services/web-apps Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 5858 // lib . optionalAttrs ( cfg . database . type == "postgresql" ) {
5959 withPostgreSQL = true ;
6060 }
61- // lib . optionalAttrs ( cfg . database . type == "mysql " ) {
61+ // lib . optionalAttrs ( cfg . database . type == "mariadb " ) {
6262 withMySQL = true ;
6363 }
6464 ) ;
168168 dbService =
169169 {
170170 "postgresql" = "postgresql.service" ;
171- "mysql " = "mysql.service" ;
171+ "mariadb " = "mysql.service" ;
172172 }
173173 . ${ cfg . database . type } ;
174174
475475 database = {
476476 type = mkOption {
477477 type = types . enum [
478- "mysql "
478+ "mariadb "
479479 "postgresql"
480480 ] ;
481- example = "mysql " ;
481+ example = "mariadb " ;
482482 default = "postgresql" ;
483483 description = "Database engine to use." ;
484484 } ;
621621 DB_DRIVER =
622622 {
623623 "postgresql" = "pgsql" ;
624- "mysql " = "mysql" ;
624+ "mariadb " = "mysql" ;
625625 }
626626 . ${ cfg . database . type } ;
627627 DB_HOST = "localhost" ;
791791 }
792792 ) ;
793793
794- mysql = mkIf ( cfg . database . createLocally && cfg . database . type == "mysql " ) {
794+ mysql = mkIf ( cfg . database . createLocally && cfg . database . type == "mariadb " ) {
795795 enable = mkDefault true ;
796796 package = mkDefault pkgs . mariadb ;
797797 ensureDatabases = [ cfg . database . name ] ;
Original file line number Diff line number Diff line change 66 php ,
77 phpCfg ? null ,
88 withPostgreSQL ? true , # “strongly recommended” according to docs
9- withMySQL ? false ,
9+ withMariaDB ? false ,
1010 minifyStaticFiles ? false , # default files are often not minified
1111 esbuild ,
1212 lightningcss ,
4444in
4545php . buildComposerProject2 ( finalAttrs : {
4646 pname = "movim" ;
47- version = "0.30" ;
47+ version = "0.30.1 " ;
4848
4949 src = fetchFromGitHub {
5050 owner = "movim" ;
5151 repo = "movim" ;
5252 tag = "v${ finalAttrs . version } " ;
53- hash = "sha256-rW751UhDBhakOrAT4BOiRDPpGldf1EwNZY8iavXlpLk =" ;
53+ hash = "sha256-MjP1rLyWJWrUAHrOKAwGN3A0wIq4iPaXlaUbtPs3F6U =" ;
5454 } ;
5555
5656 php = php . buildEnv (
@@ -71,7 +71,7 @@ php.buildComposerProject2 (finalAttrs: {
7171 all . pdo_pgsql
7272 all . pgsql
7373 ]
74- ++ lib . optionals withMySQL [
74+ ++ lib . optionals withMariaDB [
7575 all . mysqli
7676 all . mysqlnd
7777 all . pdo_mysql
@@ -88,7 +88,7 @@ php.buildComposerProject2 (finalAttrs: {
8888 ++ lib . optional minify . style . enable lightningcss
8989 ++ lib . optional minify . svg . enable scour ;
9090
91- vendorHash = "sha256-NuX6CX2QXea8BcL0nzFOdxIBs36igD8lvixna+vsviM =" ;
91+ vendorHash = "sha256-7jb4/UgnMcXtLCihwk4rr0HLw99FgiYeYJVATGxM/D4 =" ;
9292
9393 postPatch = ''
9494 # Our modules are already wrapped, removes missing *.so warnings;
You can’t perform that action at this time.
0 commit comments