gnu: transmission: Install icons to the "gui" output.
* gnu/packages/bittorrent.scm (transmission)[arguments]: Move the "icons" and "pixmaps" folders to the "gui" output. Previously, if the user only install the "gui" output, the icon would be missing.
This commit is contained in:
parent
e7228f0cfa
commit
bf155ce30c
1 changed files with 6 additions and 3 deletions
|
@ -94,10 +94,13 @@
|
||||||
(string-append gui
|
(string-append gui
|
||||||
"/bin/transmission-gtk"))
|
"/bin/transmission-gtk"))
|
||||||
|
|
||||||
;; Move the '.desktop' file as well.
|
;; Move the '.desktop' and icon files as well.
|
||||||
(mkdir (string-append gui "/share"))
|
(mkdir (string-append gui "/share"))
|
||||||
(rename-file (string-append out "/share/applications")
|
(for-each
|
||||||
(string-append gui "/share/applications")))
|
(lambda (dir)
|
||||||
|
(rename-file (string-append out "/share/" dir)
|
||||||
|
(string-append gui "/share/" dir)))
|
||||||
|
'("applications" "icons" "pixmaps")))
|
||||||
#t)))))
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("inotify-tools" ,inotify-tools)
|
`(("inotify-tools" ,inotify-tools)
|
||||||
|
|
Reference in a new issue