wpa_supplicant_gui: fixup build after update in PR #155266

This commit is contained in:
Vladimír Čunát 2022-01-20 18:12:47 +01:00
parent b4797eaffc
commit 9e07c1de65
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
2 changed files with 3 additions and 13 deletions

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, openssl, pkg-config, libnl
, nixosTests
, nixosTests, wpa_supplicant_gui
, withDbus ? true, dbus
, withReadline ? true, readline
, withPcsclite ? true, pcsclite
@ -113,6 +113,7 @@ stdenv.mkDerivation rec {
passthru.tests = {
inherit (nixosTests) wpa_supplicant;
inherit wpa_supplicant_gui; # inherits the src+version updates
};
meta = with lib; {

View File

@ -2,18 +2,7 @@
mkDerivation {
pname = "wpa_gui";
version = 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 = "05hs74qawa433adripzhycm45g7yvxr6074nd4zcl4gabzp9hd30";
})
];
inherit (wpa_supplicant) version src;
buildInputs = [ qtbase ];
nativeBuildInputs = [ qmake inkscape imagemagick ];