diff options
Diffstat (limited to 'services/cgit.nix')
| -rw-r--r-- | services/cgit.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/services/cgit.nix b/services/cgit.nix index d8493f4..1f7b637 100644 --- a/services/cgit.nix +++ b/services/cgit.nix @@ -28,6 +28,15 @@ let lighttpd zstd python311 python311Packages.pygments ] ++ [ cgit ]; + + # create cache folder, otherwise + # the cache is not used. + # NOTE: `mkdir` here can only create dirs relative + # to the current folder, but it will be linked + # to `/` later anyway. + extraCommands = '' + mkdir -p ./var/cache/cgit + ''; }; in |
