From 738a6c173a3e1d92d589f5c32ecf793a1c115918 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 29 Oct 2013 01:20:33 +0100 Subject: [PATCH] Don't copy Nix expressions to the store while processing Apache subservices --- nixos/modules/services/web-servers/apache-httpd/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix index 4b0a5d6d363..f6d5ac2fa55 100644 --- a/nixos/modules/services/web-servers/apache-httpd/default.nix +++ b/nixos/modules/services/web-servers/apache-httpd/default.nix @@ -46,7 +46,7 @@ let let svcFunction = if svc ? function then svc.function - else import "${./.}/${if svc ? serviceType then svc.serviceType else svc.serviceName}.nix"; + else import (toString "${toString ./.}/${if svc ? serviceType then svc.serviceType else svc.serviceName}.nix"); config = (evalModules { modules = [ { options = res.options; config = svc.config or svc; } ]; check = false;