mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
nm-applet: add support for pptp
This commit is contained in:
parent
cd4063b99b
commit
647b4a579d
@ -2,7 +2,7 @@
|
||||
, libnotify, libsecret, dbus_glib, polkit, isocodes, libgnome_keyring
|
||||
, mobile_broadband_provider_info, glib_networking, gsettings_desktop_schemas
|
||||
, makeWrapper, networkmanager_openvpn, networkmanager_vpnc
|
||||
, networkmanager_openconnect, udev, hicolor_icon_theme }:
|
||||
, networkmanager_openconnect, networkmanager_pptp, udev, hicolor_icon_theme }:
|
||||
|
||||
let
|
||||
pn = "network-manager-applet";
|
||||
@ -36,14 +36,17 @@ stdenv.mkDerivation rec {
|
||||
ln -s ${networkmanager_openvpn}/etc/NetworkManager/VPN/nm-openvpn-service.name $out/etc/NetworkManager/VPN/nm-openvpn-service.name
|
||||
ln -s ${networkmanager_vpnc}/etc/NetworkManager/VPN/nm-vpnc-service.name $out/etc/NetworkManager/VPN/nm-vpnc-service.name
|
||||
ln -s ${networkmanager_openconnect}/etc/NetworkManager/VPN/nm-openconnect-service.name $out/etc/NetworkManager/VPN/nm-openconnect-service.name
|
||||
ln -s ${networkmanager_pptp}/etc/NetworkManager/VPN/nm-pptp-service.name $out/etc/NetworkManager/VPN/nm-pptp-service.name
|
||||
mkdir -p $out/lib/NetworkManager
|
||||
ln -s ${networkmanager_openvpn}/lib/NetworkManager/* $out/lib/NetworkManager/
|
||||
ln -s ${networkmanager_vpnc}/lib/NetworkManager/* $out/lib/NetworkManager/
|
||||
ln -s ${networkmanager_openconnect}/lib/NetworkManager/* $out/lib/NetworkManager/
|
||||
ln -s ${networkmanager_pptp}/lib/NetworkManager/* $out/lib/NetworkManager/
|
||||
mkdir -p $out/libexec
|
||||
ln -s ${networkmanager_openvpn}/libexec/* $out/libexec/
|
||||
ln -s ${networkmanager_vpnc}/libexec/* $out/libexec/
|
||||
ln -s ${networkmanager_openconnect}/libexec/* $out/libexec/
|
||||
ln -s ${networkmanager_pptp}/libexec/* $out/libexec/
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
|
Loading…
Reference in New Issue
Block a user