about summary refs log tree commit diff
path: root/modules/server/ftp/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/server/ftp/default.nix')
-rw-r--r--modules/server/ftp/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/server/ftp/default.nix b/modules/server/ftp/default.nix
index 2b444ae2b32f..78f7c794ce1f 100644
--- a/modules/server/ftp/default.nix
+++ b/modules/server/ftp/default.nix
@@ -32,6 +32,7 @@ in
       enableACME = true;
 
       root = pkgs.runCommandNoCC "ftp.qyliss.net" {} ''
+        mkdir $out
         ${concatStrings (mapAttrsToList (httpPath: diskPath: ''
           mkdir -p "$out/$(dirname ${escapeShellArg httpPath})"
           ln -s ${escapeShellArg diskPath} $out/${escapeShellArg httpPath}