nixos/apache-httpd: Use pkgs.emptyDirectory
This commit is contained in:
parent
047fe2fe23
commit
d48591123f
@ -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: ''
|
||||
|
Loading…
Reference in New Issue
Block a user