Loading nixos/modules/services/web-apps/freshrss.nix +3 −3 Original line number Diff line number Diff line Loading @@ -220,7 +220,7 @@ in "catch_workers_output" = true; }; phpEnv = { FRESHRSS_DATA_PATH = "${cfg.dataDir}"; DATA_PATH = "${cfg.dataDir}"; }; }; }; Loading Loading @@ -267,7 +267,7 @@ in WorkingDirectory = cfg.package; }; environment = { FRESHRSS_DATA_PATH = cfg.dataDir; DATA_PATH = cfg.dataDir; }; script = Loading Loading @@ -302,7 +302,7 @@ in wantedBy = [ "multi-user.target" ]; startAt = "*:0/5"; environment = { FRESHRSS_DATA_PATH = cfg.dataDir; DATA_PATH = cfg.dataDir; }; serviceConfig = defaultServiceConfig //{ ExecStart = "${cfg.package}/app/actualize_script.php"; Loading pkgs/servers/web-apps/freshrss/default.nix +0 −8 Original line number Diff line number Diff line Loading @@ -26,12 +26,6 @@ stdenvNoCC.mkDerivation rec { # There's nothing to build. dontBuild = true; # the data folder is no in this package and thereby declared by an env-var overrideConfig = pkgs.writeText "constants.local.php" '' <?php define('DATA_PATH', getenv('FRESHRSS_DATA_PATH')); ''; postPatch = '' patchShebangs cli/*.php app/actualize_script.php ''; Loading @@ -39,8 +33,6 @@ stdenvNoCC.mkDerivation rec { installPhase = '' mkdir -p $out cp -vr * $out/ cp $overrideConfig $out/constants.local.php ''; meta = with lib; { Loading Loading
nixos/modules/services/web-apps/freshrss.nix +3 −3 Original line number Diff line number Diff line Loading @@ -220,7 +220,7 @@ in "catch_workers_output" = true; }; phpEnv = { FRESHRSS_DATA_PATH = "${cfg.dataDir}"; DATA_PATH = "${cfg.dataDir}"; }; }; }; Loading Loading @@ -267,7 +267,7 @@ in WorkingDirectory = cfg.package; }; environment = { FRESHRSS_DATA_PATH = cfg.dataDir; DATA_PATH = cfg.dataDir; }; script = Loading Loading @@ -302,7 +302,7 @@ in wantedBy = [ "multi-user.target" ]; startAt = "*:0/5"; environment = { FRESHRSS_DATA_PATH = cfg.dataDir; DATA_PATH = cfg.dataDir; }; serviceConfig = defaultServiceConfig //{ ExecStart = "${cfg.package}/app/actualize_script.php"; Loading
pkgs/servers/web-apps/freshrss/default.nix +0 −8 Original line number Diff line number Diff line Loading @@ -26,12 +26,6 @@ stdenvNoCC.mkDerivation rec { # There's nothing to build. dontBuild = true; # the data folder is no in this package and thereby declared by an env-var overrideConfig = pkgs.writeText "constants.local.php" '' <?php define('DATA_PATH', getenv('FRESHRSS_DATA_PATH')); ''; postPatch = '' patchShebangs cli/*.php app/actualize_script.php ''; Loading @@ -39,8 +33,6 @@ stdenvNoCC.mkDerivation rec { installPhase = '' mkdir -p $out cp -vr * $out/ cp $overrideConfig $out/constants.local.php ''; meta = with lib; { Loading