summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorajs124 <ajs124@users.noreply.github.com>2020-09-09 23:59:01 +0200
committerGitHub <noreply@github.com>2020-09-09 23:59:01 +0200
commitc97fcc3fe08815d13079ba7cee625c89bfedcf4d (patch)
tree12e54084b46a981afa0544243c3d3e3dac32d5ca /nixos
parent56708c3bf301e548a44d20791171ee0997b4b3e1 (diff)
parentcb141359bf2d9251441bbcc7e440c4f1f4a32e4f (diff)
downloadnixpkgs-c97fcc3fe08815d13079ba7cee625c89bfedcf4d.tar
nixpkgs-c97fcc3fe08815d13079ba7cee625c89bfedcf4d.tar.gz
nixpkgs-c97fcc3fe08815d13079ba7cee625c89bfedcf4d.tar.bz2
nixpkgs-c97fcc3fe08815d13079ba7cee625c89bfedcf4d.tar.lz
nixpkgs-c97fcc3fe08815d13079ba7cee625c89bfedcf4d.tar.xz
nixpkgs-c97fcc3fe08815d13079ba7cee625c89bfedcf4d.tar.zst
nixpkgs-c97fcc3fe08815d13079ba7cee625c89bfedcf4d.zip
Merge pull request #97438 from pbogdan/openvpn-path
nixos/openvpn: path now requires conversion to a string
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/openvpn.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/openvpn.nix b/nixos/modules/services/networking/openvpn.nix
index dcd7e9e5fa4..650f9c84ac7 100644
--- a/nixos/modules/services/networking/openvpn.nix
+++ b/nixos/modules/services/networking/openvpn.nix
@@ -11,7 +11,7 @@ let
   makeOpenVPNJob = cfg: name:
     let
 
-      path = (getAttr "openvpn-${name}" config.systemd.services).path;
+      path = makeBinPath (getAttr "openvpn-${name}" config.systemd.services).path;
 
       upScript = ''
         #! /bin/sh