0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00

openvpn: fix type error

either use
- optional cond "target"
or
- optionals cond ["target1" "target2"]
This commit is contained in:
Mathijs Kwik 2013-06-02 10:23:03 +02:00
parent e776c0623d
commit 824b5b645a

View file

@ -49,7 +49,7 @@ let
in {
description = "OpenVPN instance ${name}";
wantedBy = optional cfg.autoStart [ "multi-user.target" ];
wantedBy = optional cfg.autoStart "multi-user.target";
after = [ "network-interfaces.target" ];
path = [ pkgs.iptables pkgs.iproute pkgs.nettools ];