@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkgconfig, libnl, openssl, sqlite ? null }:
1+{ stdenv, fetchurl, fetchpatch, pkgconfig, libnl, openssl, sqlite ? null }:
22
33with stdenv.lib;
44stdenv.mkDerivation rec {
@@ -10,6 +10,14 @@ stdenv.mkDerivation rec {
1010 sha256 = "0jn77r39ysshkzihv5rjbdajqazci59v2yab4rn05my09najs9wf";
1111 };
1212
13+ patches = [
14+ (fetchpatch {
15+ url = "https://raw.githubusercontent.com/voidlinux/void-packages/a7bcbc258ba9884bccde831c0ae2069cade99e41/srcpkgs/wpa_supplicant/patches/patch-src_crypto_tls_openssl_c";
16+ sha256 = "1ifa2i54a7ijsha197dyldal3m4q5i05ih2sk15f5a5ybb6x7vmp";
17+ addPrefixes = true;
18+ })
19+ ];
20+
1321 nativeBuildInputs = [ pkgconfig ];
1422 buildInputs = [ libnl openssl sqlite ];
1523