connman: make dependency on awk explicit
This commit is contained in:
parent
b95eebec65
commit
d74335da85
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, openconnect, file,
|
{ stdenv, fetchurl, pkgconfig, openconnect, file, gawk,
|
||||||
openvpn, vpnc, glib, dbus, iptables, gnutls, polkit,
|
openvpn, vpnc, glib, dbus, iptables, gnutls, polkit,
|
||||||
wpa_supplicant, readline6, pptp, ppp }:
|
wpa_supplicant, readline6, pptp, ppp }:
|
||||||
|
|
||||||
@ -14,11 +14,12 @@ stdenv.mkDerivation rec {
|
|||||||
openvpn vpnc glib dbus iptables gnutls
|
openvpn vpnc glib dbus iptables gnutls
|
||||||
wpa_supplicant readline6 pptp ppp ];
|
wpa_supplicant readline6 pptp ppp ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig file ];
|
nativeBuildInputs = [ pkgconfig file gawk ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export WPASUPPLICANT=${wpa_supplicant}/sbin/wpa_supplicant
|
export WPASUPPLICANT=${wpa_supplicant}/sbin/wpa_supplicant
|
||||||
export PPPD=${ppp}/sbin/pppd
|
export PPPD=${ppp}/sbin/pppd
|
||||||
|
export AWK=${gawk}/bin/gawk
|
||||||
sed -i "s/\/usr\/bin\/file/file/g" ./configure
|
sed -i "s/\/usr\/bin\/file/file/g" ./configure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user