summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/tools/networking/openvpn/default.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgs/tools/networking/openvpn/default.nix b/pkgs/tools/networking/openvpn/default.nix
index 9dd16be41546..5b95dd159bff 100644
--- a/pkgs/tools/networking/openvpn/default.nix
+++ b/pkgs/tools/networking/openvpn/default.nix
@@ -3,11 +3,11 @@
 with stdenv.lib;
 
 stdenv.mkDerivation rec {
-  name = "openvpn-2.3.6";
+  name = "openvpn-2.3.7";
 
   src = fetchurl {
     url = "http://swupdate.openvpn.net/community/releases/${name}.tar.gz";
-    sha256 = "09jvxr4wcsmk55gqv3cblm60kzs9ripv9h4y50d1lbn177zx5bkv";
+    sha256 = "0vhl0ddpxqfibc0ah0ci7ix9bs0cn5shhmhijg550qpbdb6s80hz";
   };
 
   patches = optional stdenv.isLinux ./systemd-notify.patch;
@@ -21,11 +21,6 @@ stdenv.mkDerivation rec {
     IPROUTE=${iproute}/sbin/ip
   '';
 
-  preConfigure = ''
-    substituteInPlace ./src/openvpn/console.c \
-      --replace /bin/systemd-ask-password /run/current-system/sw/bin/systemd-ask-password
-  '';
-
   postInstall = ''
     mkdir -p $out/share/doc/openvpn/examples
     cp -r sample/sample-config-files/ $out/share/doc/openvpn/examples