treewide: Mass replace 'sqlite}/bin' to refer to the correct outputs

This commit is contained in:
Tuomas Tynkkynen 2016-04-10 22:51:23 +03:00 committed by Tuomas Tynkkynen
parent 897e0d1224
commit b3df6530f7

View File

@ -228,7 +228,7 @@ in {
'')
+ optionalString (service == "sql" && sql.driver == "sqlite") ''
cat "${gammuPackage}/${initDBDir}/sqlite.sql" \
| ${pkgs.sqlite}/bin/sqlite3 ${sql.database}
| ${pkgs.sqlite.bin}/bin/sqlite3 ${sql.database}
''
+ (let execPsql = extraArgs: concatStringsSep " " [
(optionalString (sql.password != null) "PGPASSWORD=${sql.password}")