diff --git a/pkgs/desktops/kde-5/plasma-5.5/startkde/default.nix b/pkgs/desktops/kde-5/plasma-5.5/startkde/default.nix index 13e248c0fb7..30e986c21b4 100644 --- a/pkgs/desktops/kde-5/plasma-5.5/startkde/default.nix +++ b/pkgs/desktops/kde-5/plasma-5.5/startkde/default.nix @@ -1,10 +1,8 @@ { stdenv, lib, runCommand -, dbus +, dbus, qttools, socat , gnugrep, gnused , kconfig, kinit, kservice , plasma-workspace -, qttools -, socat , xmessage, xprop, xsetroot }: @@ -12,15 +10,14 @@ let env = { inherit (stdenv) shell; - paths = [ - dbus.tools - gnugrep gnused - kconfig kinit kservice - plasma-workspace - qttools - socat - xmessage xprop xsetroot - ]; + paths = builtins.map (pkg: pkg.out or pkg) + [ + dbus qttools socat + gnugrep gnused + kconfig kinit kservice + plasma-workspace + xmessage xprop xsetroot + ]; }; in runCommand "startkde" env '' diff --git a/pkgs/desktops/kde-5/plasma-5.5/startkde/startkde.sh b/pkgs/desktops/kde-5/plasma-5.5/startkde/startkde.sh index be374e7504d..d839226a456 100755 --- a/pkgs/desktops/kde-5/plasma-5.5/startkde/startkde.sh +++ b/pkgs/desktops/kde-5/plasma-5.5/startkde/startkde.sh @@ -2,9 +2,6 @@ PATH="@prefix_PATH@:$PATH" -export NIX_PROFILES -echo "NIX_PROFILES=$NIX_PROFILES" - # The KDE icon cache is supposed to update itself # automatically, but it uses the timestamp on the icon # theme directory as a trigger. Since in Nix the