connman: make dependency on awk explicit

This commit is contained in:
Alexander Ried 2016-05-03 20:05:57 +02:00
parent b95eebec65
commit d74335da85

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, openconnect, file,
{ stdenv, fetchurl, pkgconfig, openconnect, file, gawk,
openvpn, vpnc, glib, dbus, iptables, gnutls, polkit,
wpa_supplicant, readline6, pptp, ppp }:
@ -14,11 +14,12 @@ stdenv.mkDerivation rec {
openvpn vpnc glib dbus iptables gnutls
wpa_supplicant readline6 pptp ppp ];
nativeBuildInputs = [ pkgconfig file ];
nativeBuildInputs = [ pkgconfig file gawk ];
preConfigure = ''
export WPASUPPLICANT=${wpa_supplicant}/sbin/wpa_supplicant
export PPPD=${ppp}/sbin/pppd
export AWK=${gawk}/bin/gawk
sed -i "s/\/usr\/bin\/file/file/g" ./configure
'';