git.iko.soy/typeable/nixpkgs
on master help sign in
Add wpa_supplicant p2p patch.

wpa_supplicant 2.4 appears to have a serious bug that makes impossible to use wifi for some number of people. (See https://bbs.archlinux.org/viewtopic.php?id=196584 for an example) It was resolved in a patch for the to-be-released 2.5 which it seemed worth it to cherry-pick here.

commitd3e0850989cbff07143fc0a237c610a74e079555 authorMichael Alan Dorman <mdorman@ironicdesign.com> dateFri 8 May 2015, 11:02 (12 years ago) parent53148b2
1 file changed+6−1
pkgs/os-specific/linux/wpa_supplicant/default.nix+6−1
pkgs/os-specific/linux/wpa_supplicant/default.nix+6−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, lib, openssl, pkgconfig, libnl
1+{ stdenv, fetchpatch, fetchurl, lib, openssl, pkgconfig, libnl
22, dbus_libs ? null, readline ? null, pcsclite ? null
33}:
44
@@ -79,6 +79,11 @@ stdenv.mkDerivation rec {
7979 patches = [
8080 ./0001-P2P-Validate-SSID-element-length-before-copying-it-C.patch
8181 ./build-fix.patch
82+ (fetchpatch {
83+ name = "p2p-fix.patch";
84+ url = "http://w1.fi/cgit/hostap/patch/?id=8a78e227df1ead19be8e12a4108e448887e64d6f";
85+ sha256 = "1k2mcq1jv8xzi8061ixcz6j56n4i8wbq0vxcvml204q1syy2ika0";
86+ })
8287 ];
8388
8489 postInstall = ''