mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
nixos/plasma6: don't add kio's KCMs to systemsettings
which fail to load anyway
This commit is contained in:
parent
5919d4081e
commit
15f795e391
@ -170,7 +170,7 @@ in {
|
|||||||
breeze.qt5
|
breeze.qt5
|
||||||
plasma-integration.qt5
|
plasma-integration.qt5
|
||||||
pkgs.plasma5Packages.kwayland-integration
|
pkgs.plasma5Packages.kwayland-integration
|
||||||
pkgs.plasma5Packages.kio
|
(pkgs.plasma5Packages.kio.override { withKcms = false; })
|
||||||
kio-extras-kf5
|
kio-extras-kf5
|
||||||
]
|
]
|
||||||
# Optional hardware support features
|
# Optional hardware support features
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
{
|
{
|
||||||
stdenv, lib, mkDerivation, fetchpatch,
|
stdenv, lib, mkDerivation,
|
||||||
extra-cmake-modules, kdoctools, qttools,
|
extra-cmake-modules, kdoctools, qttools,
|
||||||
acl, attr, libkrb5, util-linux,
|
acl, attr, libkrb5, util-linux,
|
||||||
karchive, kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons,
|
karchive, kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons,
|
||||||
kdbusaddons, ki18n, kiconthemes, kitemviews, kjobwidgets, knotifications,
|
kdbusaddons, ki18n, kiconthemes, kitemviews, kjobwidgets, knotifications,
|
||||||
kservice, ktextwidgets, kwallet, kwidgetsaddons, kwindowsystem, kxmlgui,
|
kservice, ktextwidgets, kwallet, kwidgetsaddons, kwindowsystem, kxmlgui,
|
||||||
qtbase, qtscript, qtx11extras, solid, kcrash, kded
|
qtbase, qtscript, qtx11extras, solid, kcrash, kded,
|
||||||
|
withKcms ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
@ -29,7 +30,11 @@ mkDerivation {
|
|||||||
separateDebugInfo = true;
|
separateDebugInfo = true;
|
||||||
patches = [
|
patches = [
|
||||||
./0001-Remove-impure-smbd-search-path.patch
|
./0001-Remove-impure-smbd-search-path.patch
|
||||||
];
|
];
|
||||||
|
postPatch = lib.optionalString (!withKcms) ''
|
||||||
|
substituteInPlace src/CMakeLists.txt \
|
||||||
|
--replace-fail "add_subdirectory(kcms)" ""
|
||||||
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://api.kde.org/frameworks/kio/html/";
|
homepage = "https://api.kde.org/frameworks/kio/html/";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user