openvpn plugins: use absolute paths to configuration gui

This commit is contained in:
Symphorien Gibol 2018-09-23 12:53:46 +02:00 committed by Rok Garbas
parent cb0a258910
commit 5bfe8bfcea
6 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,7 @@ in stdenv.mkDerivation rec {
"--without-libnm-glib" "--without-libnm-glib"
"--with-gnome=${if withGnome then "yes" else "no"}" "--with-gnome=${if withGnome then "yes" else "no"}"
"--localstatedir=/tmp" "--localstatedir=/tmp"
"--enable-absolute-paths"
]; ];
passthru = { passthru = {

View File

@ -31,6 +31,7 @@ in stdenv.mkDerivation rec {
"--without-libnm-glib" "--without-libnm-glib"
"--with-gnome=${if withGnome then "yes" else "no"}" "--with-gnome=${if withGnome then "yes" else "no"}"
"--localstatedir=/" # needed for the management socket under /run/NetworkManager "--localstatedir=/" # needed for the management socket under /run/NetworkManager
"--enable-absolute-paths"
]; ];
passthru = { passthru = {

View File

@ -35,6 +35,7 @@ stdenv.mkDerivation rec {
"--with-gnome=${if withGnome then "yes" else "no"}" "--with-gnome=${if withGnome then "yes" else "no"}"
"--localstatedir=/var" "--localstatedir=/var"
"--sysconfdir=$(out)/etc" "--sysconfdir=$(out)/etc"
"--enable-absolute-paths"
]; ];
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -26,6 +26,7 @@ in stdenv.mkDerivation rec {
configureFlags = [ configureFlags = [
"--with-gnome=${if withGnome then "yes" else "no"}" "--with-gnome=${if withGnome then "yes" else "no"}"
"--enable-absolute-paths"
]; ];
passthru = { passthru = {

View File

@ -28,6 +28,7 @@ in stdenv.mkDerivation rec {
"--without-libnm-glib" "--without-libnm-glib"
"--with-gnome=${if withGnome then "yes" else "no"}" "--with-gnome=${if withGnome then "yes" else "no"}"
"--localstatedir=/" # needed for the management socket under /run/NetworkManager "--localstatedir=/" # needed for the management socket under /run/NetworkManager
"--enable-absolute-paths"
]; ];
passthru = { passthru = {

View File

@ -26,6 +26,7 @@ in stdenv.mkDerivation rec {
configureFlags = [ configureFlags = [
"--without-libnm-glib" "--without-libnm-glib"
"--with-gnome=${if withGnome then "yes" else "no"}" "--with-gnome=${if withGnome then "yes" else "no"}"
"--enable-absolute-paths"
]; ];
passthru = { passthru = {