From f53c9d70ec2f056957151ea4198bbdc836da65bd Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 16 Jul 2009 16:13:35 +0000 Subject: [PATCH] * The lack of a newline at the end of "EnableSendFile Off" caused a broken httpd.conf to be generated. We should really have a merge function that appends newlines to every value of options like services.httpd.extraConfig. svn path=/nixos/branches/modular-nixos/; revision=16404 --- modules/virtualisation/qemu-vm.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/virtualisation/qemu-vm.nix b/modules/virtualisation/qemu-vm.nix index 41c0d662af03..04b5c880d26a 100644 --- a/modules/virtualisation/qemu-vm.nix +++ b/modules/virtualisation/qemu-vm.nix @@ -115,5 +115,8 @@ in # sendfile() is currently broken over CIFS, so fix it here for all # configurations that use Apache. - services.httpd.extraConfig = "EnableSendFile Off"; + services.httpd.extraConfig = + '' + EnableSendFile Off + ''; }