cloudlog: remove import-from-derivation in config

This commit is contained in:
Matt Melling 2023-03-23 21:21:57 +00:00
parent 1603d11595
commit 177b6a4bc3
No known key found for this signature in database
GPG key ID: 6D94F6DB60A64FFE

View file

@ -36,7 +36,8 @@ let
);
'';
configFile = pkgs.writeText "config.php" ''
${strings.fileContents "${pkgs.cloudlog}/install/config/config.php"}
<?php
include('${pkgs.cloudlog}/install/config/config.php');
$config['datadir'] = "${cfg.dataDir}/";
$config['base_url'] = "${cfg.baseUrl}";
${cfg.extraConfig}