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:
commit
901c7ff8ba
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue