git.iko.soy/typeable/nixpkgs
on master help sign in
network-manager & plugins: no longer remove -Werror and friends

Code using deprecated APIs has been removed See comment by @dkosovic on the matter: https://github.com/xelerance/xl2tpd/issues/108#issuecomment-227621314

commita9e995d67949890b1b9065c5657161d6b1f99650 authorobadz <obadz-git@obadz.com> dateWed 22 Jun 2016, 02:51 (10 years ago) parent2cf9b5a
5 files changed−31
pkgs/tools/networking/network-manager/l2tp.nix−2 pkgs/tools/networking/network-manager/openconnect.nix−9 pkgs/tools/networking/network-manager/openvpn.nix−9 pkgs/tools/networking/network-manager/pptp.nix−2 pkgs/tools/networking/network-manager/vpnc.nix−9
pkgs/tools/networking/network-manager/l2tp.nix−2
@@ -32,8 +32,6 @@ stdenv.mkDerivation rec {
3232 configureFlags =
3333 if withGnome then "--with-gnome" else "--without-gnome";
3434
35− postConfigure = "sed 's/-Werror//g' -i Makefile */Makefile";
36−
3735 meta = with stdenv.lib; {
3836 description = "L2TP plugin for NetworkManager";
3937 inherit (networkmanager.meta) platforms;
pkgs/tools/networking/network-manager/openconnect.nix−9
@@ -29,15 +29,6 @@ stdenv.mkDerivation rec {
2929 --replace "/sbin/modprobe" "${kmod}/sbin/modprobe"
3030 '';
3131
32− postConfigure = ''
33− substituteInPlace "./auth-dialog/Makefile" \
34− --replace "-Wstrict-prototypes" "" \
35− --replace "-Werror" ""
36− substituteInPlace "properties/Makefile" \
37− --replace "-Wstrict-prototypes" "" \
38− --replace "-Werror" ""
39− '';
40−
4132 meta = {
4233 description = "NetworkManager's OpenConnect plugin";
4334 inherit (networkmanager.meta) maintainers platforms;
pkgs/tools/networking/network-manager/openvpn.nix−9
@@ -33,15 +33,6 @@ stdenv.mkDerivation rec {
3333 --replace "/sbin/openvpn" "${openvpn}/sbin/openvpn"
3434 '';
3535
36− postConfigure = ''
37− substituteInPlace "./auth-dialog/Makefile" \
38− --replace "-Wstrict-prototypes" "" \
39− --replace "-Werror" ""
40− substituteInPlace "properties/Makefile" \
41− --replace "-Wstrict-prototypes" "" \
42− --replace "-Werror" ""
43− '';
44−
4536 meta = {
4637 description = "NetworkManager's OpenVPN plugin";
4738 inherit (networkmanager.meta) maintainers platforms;
pkgs/tools/networking/network-manager/pptp.nix−2
@@ -28,8 +28,6 @@ stdenv.mkDerivation rec {
2828 configureFlags =
2929 if withGnome then "--with-gnome --with-gtkver=3" else "--without-gnome";
3030
31− postConfigure = "sed 's/-Werror//g' -i Makefile */Makefile";
32−
3331 meta = {
3432 description = "PPtP plugin for NetworkManager";
3533 inherit (networkmanager.meta) maintainers platforms;
pkgs/tools/networking/network-manager/vpnc.nix−9
@@ -30,15 +30,6 @@ stdenv.mkDerivation rec {
3030 --replace "/sbin/modprobe" "${kmod}/sbin/modprobe"
3131 '';
3232
33− postConfigure = ''
34− substituteInPlace "./auth-dialog/Makefile" \
35− --replace "-Wstrict-prototypes" "" \
36− --replace "-Werror" ""
37− substituteInPlace "properties/Makefile" \
38− --replace "-Wstrict-prototypes" "" \
39− --replace "-Werror" ""
40− '';
41−
4233 meta = {
4334 description = "NetworkManager's VPNC plugin";
4435 inherit (networkmanager.meta) maintainers platforms;