Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nixos/modules/services/x11/desktop-managers/plasma5.nix
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ in

security.wrappers = {
kcheckpass.source = "${lib.getBin plasma5.kscreenlocker}/libexec/kcheckpass";
start_kdeinit.source = "${lib.getBin pkgs.kinit}/libexec/kf5/start_kdeinit";
start_kdeinit.source = "${lib.getBin pkgs.kdeFrameworks.kinit}/libexec/kf5/start_kdeinit";
kwin_wayland = {
source = "${lib.getBin plasma5.kwin}/bin/kwin_wayland";
capabilities = "cap_sys_nice+ep";
Expand Down
7 changes: 6 additions & 1 deletion nixos/modules/services/x11/display-managers/sddm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ let
cfg = dmcfg.sddm;
xEnv = config.systemd.services.display-manager.environment;

inherit (pkgs) sddm;
sddm = if config.services.xserver.desktopManager.lxqt.enable then
# TODO: Move lxqt to libsForQt515
pkgs.libsForQt514.sddm
else
pkgs.libsForQt5.sddm
;

xserverWrapper = pkgs.writeScript "xserver-wrapper" ''
#!/bin/sh
Expand Down
13 changes: 10 additions & 3 deletions pkgs/applications/editors/kile/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,17 @@ mkDerivation rec {
sha256 = "BEmSEv/LJPs6aCkUmnyuTGrV15WYXwgIANbfcviMXfA=";
};

nativeBuildInputs = [ extra-cmake-modules wrapGAppsHook ];
nativeBuildInputs = [
extra-cmake-modules
wrapGAppsHook
kdoctools
];

propagatedBuildInputs = [
buildInputs = [
kconfig
kcrash
kdbusaddons
kdelibs4support
kdoctools
kguiaddons
kiconthemes
kinit
Expand All @@ -48,6 +51,10 @@ mkDerivation rec {
poppler
qtscript
];
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';

propagatedUserEnvPkgs = [ konsole ];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/misc/tellico/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib
, fetchurl
, mkDerivation
, kdeApplications
, libkcddb
, kinit
, kdelibs4support
, solid
Expand Down Expand Up @@ -46,7 +46,7 @@ mkDerivation rec {
exempi
extra-cmake-modules
karchive
kdeApplications.libkcddb
libkcddb
kdelibs4support
kfilemetadata
khtml
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/browsers/firefox/wrapper.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
, flashplayer, hal-flash
, ffmpeg, xorg, alsaLib, libpulseaudio, libcanberra-gtk2, libglvnd
, gnome3/*.gnome-shell*/
, browserpass, chrome-gnome-shell, uget-integrator, plasma-browser-integration, bukubrow
, browserpass, chrome-gnome-shell, uget-integrator, plasma5, bukubrow
, tridactyl-native
, fx_cast_bridge
, udev
Expand Down Expand Up @@ -65,7 +65,7 @@ let
++ lib.optional (cfg.enableTridactylNative or false) tridactyl-native
++ lib.optional (cfg.enableGnomeExtensions or false) chrome-gnome-shell
++ lib.optional (cfg.enableUgetIntegrator or false) uget-integrator
++ lib.optional (cfg.enablePlasmaBrowserIntegration or false) plasma-browser-integration
++ lib.optional (cfg.enablePlasmaBrowserIntegration or false) plasma5.plasma-browser-integration
++ lib.optional (cfg.enableFXCastBridge or false) fx_cast_bridge
++ extraNativeMessagingHosts
);
Expand Down
14 changes: 11 additions & 3 deletions pkgs/data/icons/maia-icon-theme/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{ stdenv, fetchFromGitLab, cmake, extra-cmake-modules, gtk3, kdeFrameworks, hicolor-icon-theme }:
{ stdenv
, fetchFromGitLab
, cmake
, extra-cmake-modules
, gtk3
, plasma-framework
, kwindowsystem
, hicolor-icon-theme
}:

stdenv.mkDerivation {
pname = "maia-icon-theme";
Expand All @@ -17,8 +25,8 @@ stdenv.mkDerivation {
cmake
extra-cmake-modules
gtk3
kdeFrameworks.plasma-framework
kdeFrameworks.kwindowsystem
plasma-framework
kwindowsystem
];

propagatedBuildInputs = [
Expand Down
2 changes: 1 addition & 1 deletion pkgs/desktops/lxqt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ let

### OPTIONAL
qterminal = callPackage ./qterminal {};
compton-conf = pkgs.qt5.callPackage ./compton-conf {};
compton-conf = qt5.callPackage ./compton-conf {};
obconf-qt = callPackage ./obconf-qt {};
lximage-qt = callPackage ./lximage-qt {};
qps = callPackage ./qps {};
Expand Down
2 changes: 0 additions & 2 deletions pkgs/desktops/plasma-5/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ let
};

mkDerivation = libsForQt5.callPackage ({ mkDerivation }: mkDerivation) {};
qtbase = libsForQt5.callPackage ({ qtbase }: qtbase) {};

packages = self: with self;
let
Expand Down Expand Up @@ -83,7 +82,6 @@ let
setupHook = args.setupHook or defaultSetupHook;

meta = {
broken = lib.versionAtLeast qtbase.version "5.15";
license = with lib.licenses; [
lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12
];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/drumstick/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, alsaLib, cmake, docbook_xsl, docbook_xml_dtd_45, doxygen
, fluidsynth, pkgconfig, qt5
, fluidsynth, pkgconfig, qtbase, qtsvg
}:

stdenv.mkDerivation rec {
Expand All @@ -22,7 +22,7 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ cmake pkgconfig docbook_xsl docbook_xml_dtd_45 docbook_xml_dtd_45 ];
buildInputs = [
alsaLib doxygen fluidsynth qt5.qtbase qt5.qtsvg
alsaLib doxygen fluidsynth qtbase qtsvg
];

meta = with stdenv.lib; {
Expand Down
16 changes: 10 additions & 6 deletions pkgs/development/libraries/kdiagram/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{
mkDerivation, fetchurl, lib,
mkDerivation, fetchFromGitLab, lib,
extra-cmake-modules, qttools,
qtbase, qtsvg,
}:

mkDerivation {
name = "kdiagram-2.6.0";
src = fetchurl {
url = "https://download.kde.org/stable/kdiagram/2.6.0/src/kdiagram-2.6.0.tar.xz";
sha256 = "10hqk12wwgbiq4q5145s8v7v96j621ckq1yil9s4pihmgsnqsy02";
mkDerivation rec {
pname = "kdiagram";
version = "2.7.0";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "graphics";
repo = pname;
rev = "v${version}";
sha256 = "NSBNHPr8JzBn3y3ivhL0RjiXjDuPwZsTTOeI22pq3vc=";
};
nativeBuildInputs = [ extra-cmake-modules qttools ];
propagatedBuildInputs = [ qtbase qtsvg ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/kpmcore/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, extra-cmake-modules
, qtbase, kdeFrameworks
, qtbase, kio
, libatasmart, parted
, utillinux }:

Expand All @@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
libatasmart
parted # we only need the library

kdeFrameworks.kio
kio

utillinux # needs blkid (note that this is not provided by utillinux-compat)
];
Expand Down
56 changes: 56 additions & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -750,4 +750,60 @@ mapAliases ({

ant-dracula-theme = throw "ant-dracula-theme is now dracula-theme, and theme name is Dracula instead of Ant-Dracula.";

/* If these are in the scope of all-packages.nix, they cause collisions
between mixed versions of qt. See:
https://github.com/NixOS/nixpkgs/pull/101369 */

inherit (kdeFrameworks) breeze-icons oxygen-icons5;
inherit (kdeApplications)
akonadi akregator ark
bomber bovo
dolphin dragon
elisa
ffmpegthumbs filelight
granatier gwenview
k3b
kaddressbook kalzium kapptemplate kapman kate katomic
kblackbox kblocks kbounce
kcachegrind kcalc kcharselect kcolorchooser
kdenlive kdf kdialog kdiamond
keditbookmarks
kfind kfloppy
kget kgpg
khelpcenter
kig kigo killbots kitinerary
kleopatra klettres klines
kmag kmail kmines kmix kmplot
knavalbattle knetwalk knights
kollision kolourpaint kompare konsole kontact korganizer
kpkpass
krdc kreversi krfb
kshisen ksquares ksystemlog
kteatime ktimer ktouch kturtle
kwalletmanager kwave
marble minuet
okular
picmi
spectacle
yakuake
;
inherit (plasma5)
bluedevil breeze-gtk breeze-qt5 breeze-grub breeze-plymouth discover
kactivitymanagerd kde-cli-tools kde-gtk-config kdeplasma-addons kgamma5
kinfocenter kmenuedit kscreen kscreenlocker ksshaskpass ksysguard
kwallet-pam kwayland-integration kwin kwrited milou oxygen plasma-browser-integration
plasma-desktop plasma-integration plasma-nm plasma-pa plasma-vault plasma-workspace
plasma-workspace-wallpapers polkit-kde-agent powerdevil sddm-kcm
systemsettings user-manager xdg-desktop-portal-kde
;
inherit (plasma5.thirdParty)
plasma-applet-caffeine-plus
kwin-dynamic-workspaces
kwin-tiling
krohnkite
;
inherit (libsForQt5)
sddm
;

})
Loading