kde5.startkde: fix PATH

This commit is contained in:
Thomas Tuegel 2016-04-15 06:10:12 -05:00
parent b3317a020e
commit f418bd2dfa
2 changed files with 9 additions and 15 deletions

View File

@ -1,10 +1,8 @@
{ stdenv, lib, runCommand { stdenv, lib, runCommand
, dbus , dbus, qttools, socat
, gnugrep, gnused , gnugrep, gnused
, kconfig, kinit, kservice , kconfig, kinit, kservice
, plasma-workspace , plasma-workspace
, qttools
, socat
, xmessage, xprop, xsetroot , xmessage, xprop, xsetroot
}: }:
@ -12,15 +10,14 @@ let
env = { env = {
inherit (stdenv) shell; inherit (stdenv) shell;
paths = [ paths = builtins.map (pkg: pkg.out or pkg)
dbus.tools [
gnugrep gnused dbus qttools socat
kconfig kinit kservice gnugrep gnused
plasma-workspace kconfig kinit kservice
qttools plasma-workspace
socat xmessage xprop xsetroot
xmessage xprop xsetroot ];
];
}; };
in runCommand "startkde" env '' in runCommand "startkde" env ''

View File

@ -2,9 +2,6 @@
PATH="@prefix_PATH@:$PATH" PATH="@prefix_PATH@:$PATH"
export NIX_PROFILES
echo "NIX_PROFILES=$NIX_PROFILES"
# The KDE icon cache is supposed to update itself # The KDE icon cache is supposed to update itself
# automatically, but it uses the timestamp on the icon # automatically, but it uses the timestamp on the icon
# theme directory as a trigger. Since in Nix the # theme directory as a trigger. Since in Nix the