mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-22 08:28:09 +01:00
nongnu: nvidia-settings: Install desktop file.
* nongnu/packages/nvidia.scm (nvidia-settings)[arguments]<#:phases>: Add 'install-desktop-file. Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
This commit is contained in:
parent
5fab8f4967
commit
2ae8a04b57
1 changed files with 11 additions and 0 deletions
|
@ -558,6 +558,17 @@ userspace tools from the corresponding driver release.")
|
|||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "src/gtk+-2.x/ctkappprofile.c"
|
||||
(("/usr") "/run/booted-system/profile"))))
|
||||
(add-after 'install 'install-desktop-file
|
||||
(lambda _
|
||||
(substitute* "doc/nvidia-settings.desktop"
|
||||
(("^Exec=.*") "Exec=nvidia-settings\n")
|
||||
(("__NVIDIA_SETTINGS_DESKTOP_CATEGORIES__") "Settings"))
|
||||
(install-file "doc/nvidia-settings.desktop"
|
||||
(string-append
|
||||
#$output "/share/applications"))
|
||||
(install-file "doc/nvidia-settings.png"
|
||||
(string-append
|
||||
#$output "/share/icons/hicolor/128x128/apps"))))
|
||||
(add-after 'install 'wrap-program
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
|
|
Loading…
Reference in a new issue