qt6.qtconnectivity: enable pcsclite, fix silly typo

This commit is contained in:
K900
2025-10-07 21:23:08 +03:00
parent 60e9798ba5
commit 2c70074def
@@ -5,15 +5,20 @@
qtbase,
qtdeclarative,
bluez,
pcsclite,
pkg-config,
}:
qtModule {
pname = "qtconnectivity";
nativeBuildInputs = [ pkg-config ];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ bluez ];
buildInputs = [ pcsclite ] ++ lib.optionals stdenv.hostPlatform.isLinux [ bluez ];
propagatedBuildInputs = [
qtbase
qtdeclarative
];
postPatch = ''
substituteInPlace src/nfc/configure.cmake --replace-fail "qt_configure_add_summary_entry(ARGS pcslite)" "qt_configure_add_summary_entry(ARGS pcsclite)"
'';
}