kde5.startkde: fix PATH
This commit is contained in:
parent
b3317a020e
commit
f418bd2dfa
@ -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 ''
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user