sddm, nixos/sddm: drop qt5 variant
This commit is contained in:
@@ -12,9 +12,11 @@ let
|
||||
xEnv = config.systemd.services.display-manager.environment;
|
||||
|
||||
sddm = cfg.package.override (old: {
|
||||
withWayland = cfg.wayland.enable;
|
||||
withLayerShellQt = cfg.wayland.compositor == "kwin";
|
||||
extraPackages = old.extraPackages or [ ] ++ cfg.extraPackages;
|
||||
extraPackages =
|
||||
old.extraPackages or [ ]
|
||||
++ lib.optionals cfg.wayland.enable [ pkgs.qt6.qtwayland ]
|
||||
++ lib.optionals (cfg.wayland.compositor == "kwin") [ pkgs.kdePackages.layer-shell-qt ]
|
||||
++ cfg.extraPackages;
|
||||
});
|
||||
|
||||
iniFmt = pkgs.formats.ini { };
|
||||
@@ -228,7 +230,7 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
package = mkPackageOption pkgs [ "libsForQt5" "sddm" ] { };
|
||||
package = mkPackageOption pkgs [ "kdePackages" "sddm" ] { };
|
||||
|
||||
enableHidpi = mkOption {
|
||||
type = types.bool;
|
||||
|
||||
@@ -2,23 +2,15 @@
|
||||
lib,
|
||||
callPackage,
|
||||
runCommand,
|
||||
layer-shell-qt ? null,
|
||||
qtwayland,
|
||||
wrapQtAppsHook,
|
||||
unwrapped ? callPackage ./unwrapped.nix { },
|
||||
withWayland ? false,
|
||||
withLayerShellQt ? false,
|
||||
extraPackages ? [ ],
|
||||
}:
|
||||
runCommand "sddm-wrapped"
|
||||
{
|
||||
inherit (unwrapped) version outputs;
|
||||
|
||||
buildInputs =
|
||||
unwrapped.buildInputs
|
||||
++ extraPackages
|
||||
++ lib.optional withWayland qtwayland
|
||||
++ lib.optional (withWayland && withLayerShellQt) layer-shell-qt;
|
||||
buildInputs = unwrapped.buildInputs ++ extraPackages;
|
||||
nativeBuildInputs = [ wrapQtAppsHook ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
@@ -221,10 +221,6 @@ makeScopeWithSplicing' {
|
||||
|
||||
qtwebkit-plugins = callPackage ../development/libraries/qtwebkit-plugins { };
|
||||
|
||||
# Not a library, but we do want it to be built for every qt version there
|
||||
# is, to allow users to choose the right build if needed.
|
||||
sddm = callPackage ../applications/display-managers/sddm { };
|
||||
|
||||
signond = callPackage ../development/libraries/signond { };
|
||||
|
||||
timed = callPackage ../applications/system/timed { };
|
||||
|
||||
@@ -138,8 +138,6 @@ makeScopeWithSplicing' {
|
||||
callPackage ../development/libraries/sailfish-access-control-plugin
|
||||
{ };
|
||||
|
||||
# Not a library, but we do want it to be built for every qt version there
|
||||
# is, to allow users to choose the right build if needed.
|
||||
sddm = kdePackages.callPackage ../applications/display-managers/sddm { };
|
||||
|
||||
sierra-breeze-enhanced =
|
||||
|
||||
Reference in New Issue
Block a user