Merge branch 'hostapd.130311' of git://github.com/jcumming/nixpkgs

Adds 802.11n support for hostapd. 802.11n cards are very common now, and
it still builds successfully.

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2013-03-11 19:08:58 -04:00
commit 901c7ff8ba

View file

@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
substituteInPlace Makefile --replace "/usr/local/bin" "$out/bin"
mv defconfig .config
echo CONFIG_LIBNL32=y | tee -a .config
echo CONFIG_IEEE80211N=y | tee -a .config
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags libnl-3.0)"
'';
preInstall = "mkdir -p $out/bin";
@ -27,4 +28,4 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.phreedom ];
platforms = platforms.linux;
};
}
}