nixos/apache-httpd: Use pkgs.emptyDirectory
commitd48591123f4d5936ef6c9fd5d963ce3b1925d4c4
authorRobert Hensing <robert@roberthensing.nl>
dateSat 12 Jun 2021, 17:28 (5 years ago)
parent047fe2f
nixos/modules/services/web-servers/apache-httpd/default.nix+1−1
@@ -202,7 +202,7 @@ let
202202 let
203203 documentRoot = if hostOpts.documentRoot != null
204204 then hostOpts.documentRoot
205− else pkgs.runCommand "empty" { preferLocalBuild = true; } "mkdir -p $out"
205+ else pkgs.emptyDirectory
206206 ;
207207
208208 mkLocations = locations: concatStringsSep "\n" (map (config: ''