From 2977296f37f9fdbb144c2a08fae84c3e41ce364b Mon Sep 17 00:00:00 2001 From: Michael Alan Dorman Date: Thu, 22 Feb 2018 07:53:10 -0500 Subject: [PATCH] connman: fix build with upstream patch This is needed for newer kernels, apparently. Fixes #35332. --- pkgs/tools/networking/connman/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/connman/default.nix b/pkgs/tools/networking/connman/default.nix index f40b1ce6f4c9..45fabeee1393 100644 --- a/pkgs/tools/networking/connman/default.nix +++ b/pkgs/tools/networking/connman/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, openconnect, file, gawk, +{ stdenv, fetchurl, fetchpatch, pkgconfig, openconnect, file, gawk, openvpn, vpnc, glib, dbus, iptables, gnutls, polkit, wpa_supplicant, readline6, pptp, ppp }: @@ -16,6 +16,14 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig file gawk ]; + patches = [ + (fetchpatch { + name = "header-include.patch"; + url = "https://git.kernel.org/pub/scm/network/connman/connman.git/patch/?id=bdfb3526466f8fb8f13d9259037d8f42c782ce24"; + sha256 = "0q6ysy2xvvcmkcbw1y29x90g7g7kih7v95k1xbxdcxkras5yl8nf"; + }) + ]; + preConfigure = '' export WPASUPPLICANT=${wpa_supplicant}/sbin/wpa_supplicant export PPPD=${ppp}/sbin/pppd