nixos/apache-httpd: Use pkgs.emptyDirectory

This commit is contained in:
Robert Hensing 2021-06-12 17:28:42 +02:00
parent 047fe2fe23
commit d48591123f

View File

@ -202,7 +202,7 @@ let
let
documentRoot = if hostOpts.documentRoot != null
then hostOpts.documentRoot
else pkgs.runCommand "empty" { preferLocalBuild = true; } "mkdir -p $out"
else pkgs.emptyDirectory
;
mkLocations = locations: concatStringsSep "\n" (map (config: ''