Merge pull request #71298 from symphorien/nm-fortissl
networkmanager-fortisslvpn: create the local state directory
This commit is contained in:
commit
1554e4a95e
|
@ -472,6 +472,7 @@ in {
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"d /etc/NetworkManager/system-connections 0700 root root -"
|
"d /etc/NetworkManager/system-connections 0700 root root -"
|
||||||
"d /etc/ipsec.d 0700 root root -"
|
"d /etc/ipsec.d 0700 root root -"
|
||||||
|
"d /var/lib/NetworkManager-fortisslvpn 0700 root root -"
|
||||||
|
|
||||||
"d /var/lib/dhclient 0755 root root -"
|
"d /var/lib/dhclient 0755 root root -"
|
||||||
"d /var/lib/misc 0755 root root -" # for dnsmasq.leases
|
"d /var/lib/misc 0755 root root -" # for dnsmasq.leases
|
||||||
|
|
|
@ -32,10 +32,14 @@ in stdenv.mkDerivation {
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--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=/var"
|
||||||
"--enable-absolute-paths"
|
"--enable-absolute-paths"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# the installer only create an empty directory in localstatedir, so
|
||||||
|
# we can drop it
|
||||||
|
installFlags = [ "localstatedir=." ];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
|
|
Loading…
Reference in New Issue