aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/services/web-servers
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2019-09-04 17:08:14 +0800
committerGitHub <noreply@github.com>2019-09-04 17:08:14 +0800
commit5eef8c231ada09d9d2f298fed5ec4718ab75ce10 (patch)
tree2cf040277cffdae016224a3c60c82dcd2dc48def /nixos/modules/services/web-servers
parent54e694de81e28fa87787a36dd4761cea3421dae1 (diff)
parent33bf2acc5e0cdbcc93bfa758f6e3aa2c5385d32a (diff)
Merge pull request #68094 from peterhoeg/f/darkhttp
nixos/darkhttpd: fix package reference
Diffstat (limited to 'nixos/modules/services/web-servers')
-rw-r--r--nixos/modules/services/web-servers/darkhttpd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-servers/darkhttpd.nix b/nixos/modules/services/web-servers/darkhttpd.nix
index 80870118c33..d6649fd472d 100644
--- a/nixos/modules/services/web-servers/darkhttpd.nix
+++ b/nixos/modules/services/web-servers/darkhttpd.nix
@@ -67,7 +67,7 @@ in {
wantedBy = [ "multi-user.target" ];
serviceConfig = {
DynamicUser = true;
- ExecStart = "${cfg.package}/bin/darkhttpd ${args}";
+ ExecStart = "${pkgs.darkhttpd}/bin/darkhttpd ${args}";
AmbientCapabilities = lib.mkIf (cfg.port < 1024) [ "CAP_NET_BIND_SERVICE" ];
Restart = "on-failure";
RestartSec = "2s";