forked from mirrors/nixpkgs
enable 802.11n by default.
This commit is contained in:
parent
c94595f13b
commit
3ac299934d
|
@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace Makefile --replace "/usr/local/bin" "$out/bin"
|
substituteInPlace Makefile --replace "/usr/local/bin" "$out/bin"
|
||||||
mv defconfig .config
|
mv defconfig .config
|
||||||
echo CONFIG_LIBNL32=y | tee -a .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)"
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags libnl-3.0)"
|
||||||
'';
|
'';
|
||||||
preInstall = "mkdir -p $out/bin";
|
preInstall = "mkdir -p $out/bin";
|
||||||
|
@ -27,4 +28,4 @@ stdenv.mkDerivation rec {
|
||||||
maintainers = [ maintainers.phreedom ];
|
maintainers = [ maintainers.phreedom ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue