* Add the default profile and the user's profile to $KDEDIRS.

This is necessary for some KDE applications.

svn path=/nixos/trunk/; revision=9087
This commit is contained in:
Eelco Dolstra 2007-08-09 19:59:48 +00:00
parent bb25a6ef96
commit 9cb4834270

View file

@ -197,7 +197,7 @@ let
${if sessionType == "kde" then " ${if sessionType == "kde" then "
# Start KDE. # Start KDE.
export KDEDIRS=${kdebase}:${kdelibs} export KDEDIRS=$HOME/.nix-profile:/nix/var/nix/profiles/default:${kdebase}:${kdelibs}
export XDG_CONFIG_DIRS=${kdebase}/etc/xdg:${kdelibs}/etc/xdg export XDG_CONFIG_DIRS=${kdebase}/etc/xdg:${kdelibs}/etc/xdg
export XDG_DATA_DIRS=${kdebase}/share export XDG_DATA_DIRS=${kdebase}/share
exec ${kdebase}/bin/startkde exec ${kdebase}/bin/startkde