wpa_supplicant: improve manpage

Now points to the store path of the sample config rather than
/usr/share/doc.
This commit is contained in:
Linus Heckemann 2018-11-23 12:29:26 +01:00 committed by Robin Gloster
parent 1a7f21f398
commit 6845ebbff1

View File

@ -64,6 +64,9 @@ stdenv.mkDerivation rec {
'');
preBuild = ''
for manpage in wpa_supplicant/doc/docbook/wpa_supplicant.conf* ; do
substituteInPlace "$manpage" --replace /usr/share/doc $out/share/doc
done
cd wpa_supplicant
cp -v defconfig .config
echo "$extraConfig" >> .config