kde5.startkde: fix PATH
This commit is contained in:
parent
b3317a020e
commit
f418bd2dfa
2 changed files with 9 additions and 15 deletions
|
@ -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 ''
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue