mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: spice-vdagent: Set Exec path in spice-vdagent.desktop.
* gnu/packages/spice.scm (spice-vdagent): Set Exec path in spice-vdagent.desktop.
This commit is contained in:
parent
38b9ce44db
commit
e02cd2b8fe
1 changed files with 7 additions and 0 deletions
|
@ -234,6 +234,13 @@ (define-public spice-vdagent
|
||||||
(((string-append "\\$\\(mkdir_p\\) \\$\\(DESTDIR\\)"
|
(((string-append "\\$\\(mkdir_p\\) \\$\\(DESTDIR\\)"
|
||||||
"\\$\\(localstatedir\\)/run/spice-vdagentd"))
|
"\\$\\(localstatedir\\)/run/spice-vdagentd"))
|
||||||
"-$(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd"))
|
"-$(mkdir_p) $(DESTDIR)$(localstatedir)/run/spice-vdagentd"))
|
||||||
|
#t))
|
||||||
|
(add-after 'unpack 'patch-spice-vdagent.desktop
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(substitute* "data/spice-vdagent.desktop"
|
||||||
|
(("Exec=/usr/bin/spice-vdagent\n")
|
||||||
|
(string-append "Exec=" (assoc-ref outputs "out")
|
||||||
|
"/bin/spice-vdagent")))
|
||||||
#t)))))
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("alsa-lib" ,alsa-lib)
|
`(("alsa-lib" ,alsa-lib)
|
||||||
|
|
Loading…
Reference in a new issue