wpa_supplicant: Fix build
There is no wpa_priv. Another case of #7524. http://hydra.nixos.org/build/22211118
This commit is contained in:
parent
81dfb2c948
commit
592d4af9cf
@ -87,10 +87,6 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Copy the wpa_priv binary which is not installed
|
|
||||||
mkdir -p $out/bin
|
|
||||||
cp -v wpa_priv $out/bin
|
|
||||||
|
|
||||||
mkdir -p $out/share/man/man5 $out/share/man/man8
|
mkdir -p $out/share/man/man5 $out/share/man/man8
|
||||||
cp -v "doc/docbook/"*.5 $out/share/man/man5/
|
cp -v "doc/docbook/"*.5 $out/share/man/man5/
|
||||||
cp -v "doc/docbook/"*.8 $out/share/man/man8/
|
cp -v "doc/docbook/"*.8 $out/share/man/man8/
|
||||||
@ -99,6 +95,7 @@ stdenv.mkDerivation rec {
|
|||||||
sed -e "s@/sbin/wpa_supplicant@$out&@" -i "$out/share/dbus-1/system-services/"*
|
sed -e "s@/sbin/wpa_supplicant@$out&@" -i "$out/share/dbus-1/system-services/"*
|
||||||
cp -v dbus/dbus-wpa_supplicant.conf $out/etc/dbus-1/system.d
|
cp -v dbus/dbus-wpa_supplicant.conf $out/etc/dbus-1/system.d
|
||||||
cp -v "systemd/"*.service $out/etc/systemd/system
|
cp -v "systemd/"*.service $out/etc/systemd/system
|
||||||
|
rm $out/share/man/man8/wpa_priv.8
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user