nongnu: nvidia-settings: Fix application profile path.

* nongnu/packages/nvidia.scm (nvidia-settings)[arguments]<#:phases>:
Add 'fix-application-profile-path.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
This commit is contained in:
Hilton Chain 2023-12-15 22:06:49 +08:00 committed by John Kehayias
parent 54d01560e9
commit 5fab8f4967
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9

View file

@ -554,6 +554,10 @@ userspace tools from the corresponding driver release.")
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(delete 'configure) (delete 'configure)
(add-after 'unpack 'fix-application-profile-path
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/gtk+-2.x/ctkappprofile.c"
(("/usr") "/run/booted-system/profile"))))
(add-after 'install 'wrap-program (add-after 'install 'wrap-program
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))