3
0
Fork 0
forked from mirrors/nixpkgs

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
, 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 ''

View file

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