Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3f99424c9aba
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 53b3834022b2
Choose a head ref
  • 19 commits
  • 10 files changed
  • 10 contributors

Commits on Sep 9, 2020

  1. Copy the full SHA
    fbf9074 View commit details
  2. plasma5: pin to qt512

    ttuegel authored and worldofpeace committed Sep 9, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    ce4eb0b View commit details
  3. khotkeys: not broken with qt512

    ttuegel authored and worldofpeace committed Sep 9, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    f101cb2 View commit details
  4. colord-kde: use qt512

    ttuegel authored and worldofpeace committed Sep 9, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    14bd8c8 View commit details
  5. sddm: use qt512

    ttuegel authored and worldofpeace committed Sep 9, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    37a2b71 View commit details
  6. nixos/plasma5: use qt512

    ttuegel authored and worldofpeace committed Sep 9, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    c70f96c View commit details
  7. appstream-qt: multiple outputs

    ttuegel authored and worldofpeace committed Sep 9, 2020

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    195158b View commit details
  8. Copy the full SHA
    0615f93 View commit details
  9. Merge pull request #97524 from ttuegel/staging-20.09--plasma5-qt-5.12

    [20.09] Plasma 5: Revert to Qt 5.12
    ttuegel authored Sep 9, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8d94bf0 View commit details

Commits on Sep 11, 2020

  1. [20.09] j: fix build on darwin

    (cherry picked from commit fbefec0)
    Luflosi committed Sep 11, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    efc358e View commit details
  2. bandwhich: 0.17.0 -> 0.18.1

    ChangeLogs:
    
    * https://github.com/imsnif/bandwhich/releases/tag/0.18.1
    * https://github.com/imsnif/bandwhich/releases/tag/0.18.0
    
    Also applied a fix[1] for rDNS support which broke with `systemd-v246`
    because the `resolv-conf` crate didn't support the `options
    trust_ad`-declaration in systemd's `/etc/resolv.conf`[2].
    
    [1] imsnif/bandwhich#184
    [2] imsnif/bandwhich#166 (comment)
    
    (cherry picked from commit 8149ab1)
    Ma27 committed Sep 11, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    3fdb6b8 View commit details
  3. Merge pull request #97749 from Luflosi/backport-j

    [20.09] j: fix build on darwin
    domenkozar authored Sep 11, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    18f9a65 View commit details
  4. Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    e2bf654 View commit details
  5. plasma-workspace: remove dependency on qtbase.dev

    (cherry picked from commit 3bdf448)
    ttuegel committed Sep 11, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    ttuegel Thomas Tuegel
    Copy the full SHA
    b2f6053 View commit details
  6. nixos/plasma5: fix build with hardware.bluetooth.enable = true after …

    …#97456
    
    (cherry picked from commit 21b2900)
    orivej authored and ttuegel committed Sep 11, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    ttuegel Thomas Tuegel
    Copy the full SHA
    1f9f801 View commit details
  7. Merge pull request #97787 from ttuegel/release-20.09--97735

    nixos/plasma5: fix build with hardware.bluetooth.enable = true
    worldofpeace authored Sep 11, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ff343f1 View commit details
  8. Merge pull request #97786 from ttuegel/release-20.09--97669

    plasma-workspace: fix path to qdbus
    worldofpeace authored Sep 11, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2cb819c View commit details
  9. nixos/tools/nixos-install: add jq to path

    (cherry picked from commit a39ad85)
    worldofpeace committed Sep 11, 2020
    Copy the full SHA
    281c899 View commit details
  10. nim: remove stdlib indirection in wrapper

    Fix #97601
    ehmry committed Sep 11, 2020
    Copy the full SHA
    53b3834 View commit details
6 changes: 5 additions & 1 deletion nixos/modules/installer/tools/tools.nix
Original file line number Diff line number Diff line change
@@ -22,7 +22,11 @@ let
src = ./nixos-install.sh;
inherit (pkgs) runtimeShell;
nix = config.nix.package.out;
path = makeBinPath [ pkgs.nixUnstable nixos-enter ];
path = makeBinPath [
pkgs.nixUnstable
pkgs.jq
nixos-enter
];
};

nixos-rebuild =
4 changes: 2 additions & 2 deletions nixos/modules/security/pam.nix
Original file line number Diff line number Diff line change
@@ -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
@@ -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)
15 changes: 9 additions & 6 deletions nixos/modules/services/x11/desktop-managers/plasma5.nix
Original file line number Diff line number Diff line change
@@ -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;
@@ -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 = ''
@@ -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
@@ -294,15 +297,15 @@ 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
++ lib.optional (cfg.phononBackend == "gstreamer") libsForQt5.phonon-backend-gstreamer
++ lib.optional (cfg.phononBackend == "vlc") libsForQt5.phonon-backend-vlc

# Optional hardware support features
++ lib.optionals config.hardware.bluetooth.enable [ bluedevil bluez-qt openobex obexftp ]
++ lib.optionals config.hardware.bluetooth.enable [ bluedevil bluez-qt pkgs.openobex pkgs.obexftp ]
++ lib.optional config.networking.networkmanager.enable plasma-nm
++ lib.optional config.hardware.pulseaudio.enable plasma-pa
++ lib.optional config.powerManagement.enable powerdevil
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/khotkeys.nix
Original file line number Diff line number Diff line change
@@ -14,5 +14,4 @@ mkDerivation {
plasma-framework plasma-workspace qtx11extras
];
outputs = [ "bin" "dev" "out" ];
meta.broken = lib.versionOlder qtbase.version "5.14";
}
5 changes: 5 additions & 0 deletions pkgs/desktops/plasma-5/plasma-workspace/default.nix
Original file line number Diff line number Diff line change
@@ -48,6 +48,11 @@ mkDerivation {
./0002-absolute-wallpaper-install-dir.patch
];

postPatch = ''
substituteInPlace wallpapers/image/wallpaper.knsrc.cmake \
--replace '@QtBinariesDir@/qdbus' ${getBin qttools}/bin/qdbus
'';

NIX_CFLAGS_COMPILE = [
''-DNIXPKGS_XMESSAGE="${getBin xmessage}/bin/xmessage"''
''-DNIXPKGS_XRDB="${getBin xrdb}/bin/xrdb"''
44 changes: 14 additions & 30 deletions pkgs/development/compilers/nim/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# https://nim-lang.github.io/Nim/packaging.html

{ stdenv, lib, fetchgit, fetchurl, makeWrapper, gdb, openssl, pcre, readline
, boehmgc, sqlite, nim-unwrapped, nim-stdlib, nim }:
, boehmgc, sqlite, nim-unwrapped, nim }:

let
version = "1.2.6";
@@ -106,7 +106,6 @@ let
};

unwrapped = stdenv.mkDerivation {
# https://nim-lang.github.io/Nim/packaging.html
pname = "nim-unwrapped";
inherit version src;

@@ -147,31 +146,13 @@ let
installPhase = ''
runHook preInstall
install -Dt $out/bin bin/*
ln -sf $out/nim/bin/nim $out/bin/nim
./install.sh $out
runHook postInstall
'';

inherit meta;
};

stdlib = stdenv.mkDerivation {
pname = "nim-stdlib";
inherit (nim-unwrapped) version src patches;

dontConfigure = true;
dontBuild = true;

installPhase = ''
runHook preInstall
touch bin/nim
./install.sh $TMPDIR
cp -r $TMPDIR/nim/lib $out
runHook postInstall
'';

meta = meta // {
description = meta.description + " (standard library)";
};
};
};

wrapped = let
@@ -197,8 +178,12 @@ let
"--prefix PATH : ${lib.makeBinPath [ stdenv.cc gdb ]}:${
placeholder "out"
}/bin"
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ stdenv.cc.libc openssl ]}"
"--prefix LD_LIBRARY_PATH : ${
lib.makeLibraryPath [ stdenv.cc.libc openssl ]
}"
"--set NIM_CONFIG_PATH ${placeholder "out"}/etc/nim"
''--set NIX_HARDENING_ENABLE "''${NIX_HARDENING_ENABLE/fortify}"''
# Fortify hardening appends -O2 to gcc flags which is unwanted for unoptimized nim builds.
];

buildPhase = with stdenv;
@@ -227,20 +212,19 @@ let
for binpath in ${nim}/bin/nim?*; do
local binname=`basename $binpath`
makeWrapper $binpath $out/bin/${targetPlatform.config}-$binname \
makeWrapper \
$binpath $out/bin/${targetPlatform.config}-$binname \
$wrapperArgs
ln -s $out/bin/${targetPlatform.config}-$binname $out/bin/$binname
done
makeWrapper ${nim}/bin/nim $out/bin/${targetPlatform.config}-nim \
$wrapperArgs \
--set NIX_HARDENING_ENABLE "''${NIX_HARDENING_ENABLE/fortify}" \
--add-flags --lib:${nim-stdlib}
makeWrapper \
${nim}/nim/bin/nim $out/bin/${targetPlatform.config}-nim \
$wrapperArgs
ln -s $out/bin/${targetPlatform.config}-nim $out/bin/nim
runHook postBuild
'';
# Fortify hardening appends -O2 to gcc flags which is unwanted for unoptimized nim builds.
'';

dontInstall = true;

3 changes: 3 additions & 0 deletions pkgs/development/interpreters/j/default.nix
Original file line number Diff line number Diff line change
@@ -27,6 +27,9 @@ stdenv.mkDerivation rec {

doCheck = true;

# Causes build failure due to warning
hardeningDisable = stdenv.lib.optional stdenv.cc.isClang "strictoverflow";

buildPhase = ''
export SOURCE_DIR=$(pwd)
export HOME=$TMPDIR
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";
};
20 changes: 16 additions & 4 deletions pkgs/tools/networking/bandwhich/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
{ stdenv, fetchFromGitHub, rustPlatform, Security, fetchpatch }:

rustPlatform.buildRustPackage rec {
pname = "bandwhich";
version = "0.17.0";
version = "0.18.1";

src = fetchFromGitHub {
owner = "imsnif";
repo = pname;
rev = version;
sha256 = "0fhy3zys41bkpjmvhkxf413004hvv2kngcgf4819mw22w14zfvgr";
sha256 = "0qzmkhrg7pqgblmva7xcww6zc4rryba6kkfkhj05mvd31z3c1rz8";
};

cargoSha256 = "015ff049xb699gig0cwr5i7n8hgw1316dkdpnqd4843h54x7bp5y";
cargoSha256 = "0iakw42nip0vxq50jjk73r0xl7xp426szb091ap4isad3zxq6saj";
cargoPatches = [
# Fixes rDNS support for systems using `systemd-networkd` from v246.
# See https://github.com/imsnif/bandwhich/pull/184 for context
(fetchpatch {
url = "https://github.com/imsnif/bandwhich/commit/19e485a1ce9f749c121d235147e3117cc847379e.patch";
sha256 = "03hg73gwlfq0l36k3aq7cfak3js7j05ssfpdbfiiwqq7lynm83jr";
})
(fetchpatch {
url = "https://github.com/imsnif/bandwhich/commit/35f03b716832fba9a735628d1c728d3e305f75c8.patch";
sha256 = "1bv837wc1dgg26s640f3lfya28ypnjs0675dykzxxxv5y9ns58l3";
})
];

buildInputs = stdenv.lib.optional stdenv.isDarwin Security;

12 changes: 6 additions & 6 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -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 { };

@@ -9441,7 +9441,7 @@ in

nim = callPackage ../development/compilers/nim { };
nim-unwrapped = nim.unwrapped;
nim-stdlib = nim.stdlib;

nrpl = callPackage ../development/tools/nrpl { };

neko = callPackage ../development/compilers/neko { };
@@ -13023,7 +13023,7 @@ in
let
mkFrameworks = import ../development/libraries/kde-frameworks;
attrs = {
libsForQt5 = libsForQt514;
libsForQt5 = libsForQt512;
inherit lib fetchurl;
};
in
@@ -21291,7 +21291,7 @@ in
let
mkApplications = import ../applications/kde;
attrs = {
libsForQt5 = libsForQt514;
libsForQt5 = libsForQt512;
inherit lib fetchurl;
inherit okteta;
};
@@ -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 {};

@@ -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;