me
/
guix
Archived
1
0
Fork 0

gnu: gnome-default-applications: Change defaults.list to gnome-mimeapps.list.

* gnu/packages/gnome.scm (gnome-default-applications)[arguments]: Change
deprecated defaults.list filename to gnome-mimeapps.list.  The old
defaults.list was changed to mimeapps.list in the mime spec. The gnome- prefix
makes the file only be read when XDG_CURRENT_DESKTOP=GNOME.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
master
Brendan Tildesley 2017-12-01 14:14:06 +11:00 committed by Marius Bakke
parent 79e5d150c6
commit a6ac679f0a
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 1 additions and 1 deletions

View File

@ -7643,7 +7643,7 @@ software that do not provide their own configuration interface.")
(let* ((out (assoc-ref %outputs "out"))
(apps (string-append out "/share/applications")))
(mkdir-p apps)
(call-with-output-file (string-append apps "/defaults.list")
(call-with-output-file (string-append apps "/gnome-mimeapps.list")
(lambda (port)
(format port "[Default Applications]\n")
(format port "inode/directory=org.gnome.Nautilus.desktop\n")