fix: use --no-preserve=mode when copying forgejo static root
This commit is contained in:
parent
30c7274cc7
commit
cc7d349139
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ in
|
||||||
# the nix store — no separate hive-forge container rebuild needed,
|
# the nix store — no separate hive-forge container rebuild needed,
|
||||||
# and no persistent-state directory involved.
|
# and no persistent-state directory involved.
|
||||||
staticRootWithTheme = pkgs.runCommand "forgejo-static-with-theme" { } ''
|
staticRootWithTheme = pkgs.runCommand "forgejo-static-with-theme" { } ''
|
||||||
cp -r ${cfg.package.data}/. $out/
|
cp -r --no-preserve=mode,ownership ${cfg.package.data}/. $out/
|
||||||
mkdir -p $out/public/assets/css
|
mkdir -p $out/public/assets/css
|
||||||
cp ${../forge-theme/theme-catppuccin-vibec0re.css} \
|
cp ${../forge-theme/theme-catppuccin-vibec0re.css} \
|
||||||
$out/public/assets/css/theme-catppuccin-vibec0re.css
|
$out/public/assets/css/theme-catppuccin-vibec0re.css
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue