strongswan: use placeholder instead of configureFlagsArray

This commit is contained in:
Bas van Dijk 2019-04-30 10:27:49 +02:00
parent 5d09420337
commit d771036ab2
1 changed files with 1 additions and 5 deletions

View File

@ -56,10 +56,6 @@ stdenv.mkDerivation rec {
substituteInPlace src/libcharon/plugins/resolve/resolve_handler.c --replace "/sbin/resolvconf" "${openresolv}/sbin/resolvconf"
'';
preConfigure = ''
configureFlagsArray+=("--with-systemdsystemunitdir=$out/etc/systemd/system")
'';
configureFlags =
[ "--enable-swanctl"
"--enable-cmd"
@ -74,7 +70,7 @@ stdenv.mkDerivation rec {
"--enable-curl" ]
++ optionals stdenv.isLinux [
"--enable-farp" "--enable-dhcp"
"--enable-systemd"
"--enable-systemd" "--with-systemdsystemunitdir=${placeholder "out"}/etc/systemd/system"
"--enable-xauth-pam"
"--enable-forecast"
"--enable-connmark"