Temporarily disable STATIC_ROOT_PATH
This commit is contained in:
parent
3a0538f41a
commit
99cdbdd49c
1 changed files with 7 additions and 7 deletions
|
@ -57,13 +57,13 @@ in
|
|||
HTTP_PORT = 3000;
|
||||
SSH_PORT = 62;
|
||||
|
||||
STATIC_ROOT_PATH = pkgs.runCommand "patch-templates" { } ''
|
||||
mkdir -p $out
|
||||
${pkgs.lib.getExe' pkgs.coreutils "cp"} -r ${pkgs.forgejo.data}/* $out
|
||||
chmod u+w $out/templates/home.tmpl
|
||||
${pkgs.lib.getExe' pkgs.coreutils "cp"} -f ${./home.tmpl} $out/templates/home.tmpl
|
||||
chmod u-w $out/templates/home.tmpl
|
||||
'';
|
||||
# STATIC_ROOT_PATH = pkgs.runCommand "patch-templates" { } ''
|
||||
# mkdir -p $out
|
||||
# ${pkgs.lib.getExe' pkgs.coreutils "cp"} -r ${pkgs.forgejo.data}/* $out
|
||||
# chmod u+w $out/templates/home.tmpl
|
||||
# ${pkgs.lib.getExe' pkgs.coreutils "cp"} -f ${./home.tmpl} $out/templates/home.tmpl
|
||||
# chmod u-w $out/templates/home.tmpl
|
||||
# '';
|
||||
};
|
||||
service.DISABLE_REGISTRATION = true;
|
||||
actions = {
|
||||
|
|
Loading…
Reference in a new issue