nm-tray: fix compile by adding missing pkg-config

This commit is contained in:
Sandro Jäckel 2021-12-20 01:24:34 +01:00
parent 045b875b1f
commit 5f7eec092b
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,4 +1,4 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, qttools, qtbase, networkmanager-qt, modemmanager-qt }:
{ lib, mkDerivation, fetchFromGitHub, cmake, pkg-config, qttools, qtbase, networkmanager-qt, modemmanager-qt }:
mkDerivation rec {
pname = "nm-tray";
@ -15,7 +15,7 @@ mkDerivation rec {
sed -i -e '1i#include <QMetaEnum>' src/nmmodel.cpp
'';
nativeBuildInputs = [ cmake qttools ];
nativeBuildInputs = [ cmake pkg-config qttools ];
cmakeFlags = [ "-DWITH_MODEMMANAGER_SUPPORT=ON" ];