git.iko.soy/typeable/nixpkgs
on master help sign in
wpa_supplicant_gui: fix build with Inkscape 1.0
commit219382bf283274e0ad248e7dd1c21780e58b52cd authorJan Tojnar <jtojnar@gmail.com> dateSun 17 May 2020, 08:40 (7 years ago) parente16ca53
1 file changed+11−2
pkgs/os-specific/linux/wpa_supplicant/gui.nix+11−2
pkgs/os-specific/linux/wpa_supplicant/gui.nix+11−2
@@ -1,14 +1,23 @@
1−{ stdenv, mkDerivation, qtbase, qmake, inkscape, imagemagick, wpa_supplicant }:
1+{ stdenv, mkDerivation, fetchpatch, qtbase, qmake, inkscape, imagemagick, wpa_supplicant }:
22
33mkDerivation {
44 name = "wpa_gui-${wpa_supplicant.version}";
55
66 inherit (wpa_supplicant) src;
77
8+ patches = [
9+ # Fix build with Inkscape 1.0
10+ # https://github.com/NixOS/nixpkgs/issues/86930
11+ (fetchpatch {
12+ url = "https://w1.fi/cgit/hostap/patch/?id=0388992905a5c2be5cba9497504eaea346474754";
13+ sha256 = "YDSY7l/qEco+aZYcYHLf/rxCKvPw35ibGoMorjA5GhY=";
14+ })
15+ ];
16+
817 buildInputs = [ qtbase ];
918 nativeBuildInputs = [ qmake inkscape imagemagick ];
1019
11− prePatch = ''
20+ postPatch = ''
1221 cd wpa_supplicant/wpa_gui-qt4
1322 '';
1423