mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
nixos/openvpn: path now requires conversion to a string
Following changes in https://github.com/NixOS/nixpkgs/pull/91092 the `path` attribute is now a list instead of being a string. This resulted resulted in the following evaluation error: "cannot coerce a list to a string, at [...]/nixos/modules/services/networking/openvpn.nix:16:18" so we now need to convert it to the right type ourselves. Closes https://github.com/NixOS/nixpkgs/issues/97360.
This commit is contained in:
parent
a31736120c
commit
cb141359bf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user