wpa_supplicant_gui: fix build with Inkscape 1.0
This commit is contained in:
parent
e16ca535e9
commit
219382bf28
@ -1,14 +1,23 @@
|
||||
{ stdenv, mkDerivation, qtbase, qmake, inkscape, imagemagick, wpa_supplicant }:
|
||||
{ stdenv, mkDerivation, fetchpatch, qtbase, qmake, inkscape, imagemagick, wpa_supplicant }:
|
||||
|
||||
mkDerivation {
|
||||
name = "wpa_gui-${wpa_supplicant.version}";
|
||||
|
||||
inherit (wpa_supplicant) src;
|
||||
|
||||
patches = [
|
||||
# Fix build with Inkscape 1.0
|
||||
# https://github.com/NixOS/nixpkgs/issues/86930
|
||||
(fetchpatch {
|
||||
url = "https://w1.fi/cgit/hostap/patch/?id=0388992905a5c2be5cba9497504eaea346474754";
|
||||
sha256 = "YDSY7l/qEco+aZYcYHLf/rxCKvPw35ibGoMorjA5GhY=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ qtbase ];
|
||||
nativeBuildInputs = [ qmake inkscape imagemagick ];
|
||||
|
||||
prePatch = ''
|
||||
postPatch = ''
|
||||
cd wpa_supplicant/wpa_gui-qt4
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user