Skip to content

Commit

Permalink
Merge branch 'staging-20.09' into release-20.09
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Sep 11, 2020
2 parents 18f9a65 + 8d94bf0 commit e2bf654
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 15 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/security/pam.nix
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ let
"auth optional ${pkgs.pam_mount}/lib/security/pam_mount.so"}
${optionalString cfg.enableKwallet
("auth optional ${pkgs.plasma5.kwallet-pam}/lib/security/pam_kwallet5.so" +
" kwalletd=${pkgs.libsForQt5.kwallet.bin}/bin/kwalletd5")}
" kwalletd=${pkgs.kdeFrameworks.kwallet.bin}/bin/kwalletd5")}
${optionalString cfg.enableGnomeKeyring
"auth optional ${pkgs.gnome3.gnome-keyring}/lib/security/pam_gnome_keyring.so"}
${optionalString cfg.googleAuthenticator.enable
Expand Down Expand Up @@ -471,7 +471,7 @@ let
"session optional ${pkgs.apparmor-pam}/lib/security/pam_apparmor.so order=user,group,default debug"}
${optionalString (cfg.enableKwallet)
("session optional ${pkgs.plasma5.kwallet-pam}/lib/security/pam_kwallet5.so" +
" kwalletd=${pkgs.libsForQt5.kwallet.bin}/bin/kwalletd5")}
" kwalletd=${pkgs.kdeFrameworks.kwallet.bin}/bin/kwalletd5")}
${optionalString (cfg.enableGnomeKeyring)
"session optional ${pkgs.gnome3.gnome-keyring}/lib/security/pam_gnome_keyring.so auto_start"}
${optionalString (config.virtualisation.lxc.lxcfs.enable)
Expand Down
13 changes: 8 additions & 5 deletions nixos/modules/services/x11/desktop-managers/plasma5.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ let
xcfg = config.services.xserver;
cfg = xcfg.desktopManager.plasma5;

inherit (pkgs) kdeApplications plasma5;
libsForQt5 = pkgs.libsForQt514;
inherit (pkgs) kdeApplications kdeFrameworks plasma5;
libsForQt5 = pkgs.libsForQt512;
qt5 = pkgs.qt512;
inherit (pkgs) writeText;

pulseaudio = config.hardware.pulseaudio;
Expand Down Expand Up @@ -84,7 +85,7 @@ let
# recognize that software that has been removed.
rm -fv $HOME/.cache/ksycoca*
${pkgs.libsForQt5.kservice}/bin/kbuildsycoca5
${libsForQt5.kservice}/bin/kbuildsycoca5
'';

set_XDG_CONFIG_HOME = ''
Expand Down Expand Up @@ -204,7 +205,9 @@ in
KERNEL=="i2c-[0-9]*", TAG+="uaccess"
'';

environment.systemPackages = with pkgs; with qt5; with libsForQt5; with plasma5; with kdeApplications;
environment.systemPackages =
with qt5; with libsForQt5;
with plasma5; with kdeApplications; with kdeFrameworks;
[
frameworkintegration
kactivities
Expand Down Expand Up @@ -294,7 +297,7 @@ in

qtvirtualkeyboard

xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
pkgs.xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
]

# Phonon audio backend
Expand Down
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/khotkeys.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ mkDerivation {
plasma-framework plasma-workspace qtx11extras
];
outputs = [ "bin" "dev" "out" ];
meta.broken = lib.versionOlder qtbase.version "5.14";
}
11 changes: 9 additions & 2 deletions pkgs/development/libraries/appstream/qt.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
{ stdenv, appstream, qtbase, qttools }:
{ stdenv, mkDerivation, appstream, qtbase, qttools }:

# TODO: look into using the libraries from the regular appstream derivation as we keep duplicates here

stdenv.mkDerivation {
mkDerivation {
pname = "appstream-qt";
inherit (appstream) version src prePatch;

outputs = [ "out" "dev" ];

buildInputs = appstream.buildInputs ++ [ appstream qtbase ];

nativeBuildInputs = appstream.nativeBuildInputs ++ [ qttools ];

mesonFlags = appstream.mesonFlags ++ [ "-Dqt=true" ];

postFixup = ''
sed -i "$dev/lib/cmake/AppStreamQt/AppStreamQtConfig.cmake" \
-e "/INTERFACE_INCLUDE_DIRECTORIES/ s@\''${PACKAGE_PREFIX_DIR}@$dev@"
'';

meta = appstream.meta // {
description = "Software metadata handling library - Qt";
};
Expand Down
10 changes: 5 additions & 5 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1613,7 +1613,7 @@ in

coloredlogs = with python3Packages; toPythonApplication coloredlogs;

colord-kde = libsForQt5.callPackage ../tools/misc/colord-kde {};
colord-kde = libsForQt512.callPackage ../tools/misc/colord-kde {};

colpack = callPackage ../applications/science/math/colpack { };

Expand Down Expand Up @@ -13023,7 +13023,7 @@ in
let
mkFrameworks = import ../development/libraries/kde-frameworks;
attrs = {
libsForQt5 = libsForQt514;
libsForQt5 = libsForQt512;
inherit lib fetchurl;
};
in
Expand Down Expand Up @@ -21291,7 +21291,7 @@ in
let
mkApplications = import ../applications/kde;
attrs = {
libsForQt5 = libsForQt514;
libsForQt5 = libsForQt512;
inherit lib fetchurl;
inherit okteta;
};
Expand Down Expand Up @@ -23077,7 +23077,7 @@ in

robustirc-bridge = callPackage ../servers/irc/robustirc-bridge { };

sddm = libsForQt5.callPackage ../applications/display-managers/sddm { };
sddm = libsForQt512.callPackage ../applications/display-managers/sddm { };

skrooge = libsForQt514.callPackage ../applications/office/skrooge {};

Expand Down Expand Up @@ -25507,7 +25507,7 @@ in
let
mkPlasma5 = import ../desktops/plasma-5;
attrs = {
libsForQt5 = libsForQt514;
libsForQt5 = libsForQt512;
inherit lib fetchurl;
gconf = gnome2.GConf;
inherit gsettings-desktop-schemas;
Expand Down

0 comments on commit e2bf654

Please sign in to comment.