* Patch the `nvidia-settings.desktop' file to make it work on KDE.

svn path=/nixpkgs/trunk/; revision=21628
This commit is contained in:
Eelco Dolstra 2010-05-06 16:58:04 +00:00
parent b97a0eb54e
commit 3b2d0133f3

View File

@ -74,6 +74,11 @@ installPhase() {
# Header files etc.
cp -prd usr/include usr/share $out
# Patch the `nvidia-settings.desktop' file.
substituteInPlace $out/share/applications/nvidia-settings.desktop \
--replace '__UTILS_PATH__' $out/bin \
--replace '__PIXMAP_PATH__' $out/share/pixmaps
}