diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-29 01:20:33 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-29 01:20:33 +0100 |
commit | 738a6c173a3e1d92d589f5c32ecf793a1c115918 (patch) | |
tree | 8d2d7c74d0b0b55f6ce1a97dba77518778910f1b /nixos | |
parent | 760d0a00dc439130b47094bbac5d6e262aa775a8 (diff) | |
download | nixlib-738a6c173a3e1d92d589f5c32ecf793a1c115918.tar nixlib-738a6c173a3e1d92d589f5c32ecf793a1c115918.tar.gz nixlib-738a6c173a3e1d92d589f5c32ecf793a1c115918.tar.bz2 nixlib-738a6c173a3e1d92d589f5c32ecf793a1c115918.tar.lz nixlib-738a6c173a3e1d92d589f5c32ecf793a1c115918.tar.xz nixlib-738a6c173a3e1d92d589f5c32ecf793a1c115918.tar.zst nixlib-738a6c173a3e1d92d589f5c32ecf793a1c115918.zip |
Don't copy Nix expressions to the store while processing Apache subservices
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/web-servers/apache-httpd/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix index 4b0a5d6d3638..f6d5ac2fa558 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; |