Merge pull request #272875 from chayleaf/maubot
nixos/maubot: fix eval with default config
This commit is contained in:
commit
6f6d03b284
@ -42,7 +42,7 @@ let
|
|||||||
database = lib.last (lib.splitString "/" noSchema);
|
database = lib.last (lib.splitString "/" noSchema);
|
||||||
};
|
};
|
||||||
|
|
||||||
postgresDBs = [
|
postgresDBs = builtins.filter isPostgresql [
|
||||||
cfg.settings.database
|
cfg.settings.database
|
||||||
cfg.settings.crypto_database
|
cfg.settings.crypto_database
|
||||||
cfg.settings.plugin_databases.postgres
|
cfg.settings.plugin_databases.postgres
|
||||||
|
@ -39,7 +39,7 @@ let wrapper = { pythonPackages ? (_: [ ]), plugins ? (_: [ ]), baseConfig ? null
|
|||||||
if builtins.isNull (baseConfig.server.override_resource_path or null)
|
if builtins.isNull (baseConfig.server.override_resource_path or null)
|
||||||
then "${unwrapped}/${python3.sitePackages}/maubot/management/frontend/build"
|
then "${unwrapped}/${python3.sitePackages}/maubot/management/frontend/build"
|
||||||
else baseConfig.server.override_resource_path;
|
else baseConfig.server.override_resource_path;
|
||||||
})})} $out/${python3.sitePackages}/maubot/example-config.yaml
|
})} $out/${python3.sitePackages}/maubot/example-config.yaml
|
||||||
rm -rf $out/bin
|
rm -rf $out/bin
|
||||||
''}
|
''}
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user