diff options
author | Peter Hoeg <peter@hoeg.com> | 2019-09-04 17:08:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-04 17:08:14 +0800 |
commit | 5eef8c231ada09d9d2f298fed5ec4718ab75ce10 (patch) | |
tree | 2cf040277cffdae016224a3c60c82dcd2dc48def /nixos/modules/services/web-servers | |
parent | 54e694de81e28fa87787a36dd4761cea3421dae1 (diff) | |
parent | 33bf2acc5e0cdbcc93bfa758f6e3aa2c5385d32a (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.nix | 2 |
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"; |