Commit Graph

5 Commits

Author SHA1 Message Date
Attila Ersek
dbb93b39ce feat(mysql): allow configuring socketDir on mysql. if not provided, uses dataDir as default. solves #171 2024-04-26 18:42:04 +05:30
Attila Ersek
b5d29b0734 chore(mysql): cover mysql importTimezones with tests 2024-04-24 14:29:24 +05:30
Attila Ersek
3082fcf5ca fix(mysql): use absolute socket path in configureTimezones. this fixes #169 2024-04-24 14:29:24 +05:30
Shivaraj B H
819ab20e8e
refactor: writeShellScriptBin -> writeShellApplication (#155)
Provides us with following benefits:
- use `runtimeInputs` instead of manually exporting `PATH`
- get shellcheck by default

---------

Co-authored-by: Sridhar Ratnakumar <3998+srid@users.noreply.github.com>
2024-03-19 01:47:25 +05:30
Shivaraj B H
f158353b59
fix(mysql)!: look for *.sql files in the top-level schema directory (#154)
* mysql service would assume that all the `*.sql` files in the directory, provided by `initialDatabases [{ schema = <directory>; … }]`, exists in a folder named [mysql-databases](291e7be83a/nix/mysql.nix (L239-L241)), after this change it would just look for all the `*.sql` files in the top-level schema directory.
* add tests
2024-03-18 22:32:08 +05:30