Merge pull request #35333 from mdorman/connman-fix

connman: fix build with upstream patch

authored by Franz Pletz and committed by GitHub d16274da 278bc224

+9 -1
+9 -1
pkgs/tools/networking/connman/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, openconnect, file, gawk, 1 + { stdenv, fetchurl, fetchpatch, pkgconfig, openconnect, file, gawk, 2 2 openvpn, vpnc, glib, dbus, iptables, gnutls, polkit, 3 3 wpa_supplicant, readline6, pptp, ppp }: 4 4 ··· 15 15 wpa_supplicant readline6 pptp ppp ]; 16 16 17 17 nativeBuildInputs = [ pkgconfig file gawk ]; 18 + 19 + patches = [ 20 + (fetchpatch { 21 + name = "header-include.patch"; 22 + url = "https://git.kernel.org/pub/scm/network/connman/connman.git/patch/?id=bdfb3526466f8fb8f13d9259037d8f42c782ce24"; 23 + sha256 = "0q6ysy2xvvcmkcbw1y29x90g7g7kih7v95k1xbxdcxkras5yl8nf"; 24 + }) 25 + ]; 18 26 19 27 preConfigure = '' 20 28 export WPASUPPLICANT=${wpa_supplicant}/sbin/wpa_supplicant