build-system/glib-or-gtk: Add MIME directories to $XDG_DATA_DIRS.
Fixes an Evince regression introduced in commit 3d243e9
.
* guix/build/glib-or-gtk-build-system.scm (data-directories): Check the
/mime sub-directory.
This commit is contained in:
parent
7d8379a767
commit
ca79e42ea2
|
@ -1,6 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2014 Federico Beffa <beffa@fbengineering.ch>
|
;;; Copyright © 2014 Federico Beffa <beffa@fbengineering.ch>
|
||||||
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -92,7 +92,8 @@ in INPUTS. Return a list with all found directories."
|
||||||
(subdirectory-exists? datadir "/themes")
|
(subdirectory-exists? datadir "/themes")
|
||||||
(subdirectory-exists? datadir "/cursors")
|
(subdirectory-exists? datadir "/cursors")
|
||||||
(subdirectory-exists? datadir "/wallpapers")
|
(subdirectory-exists? datadir "/wallpapers")
|
||||||
(subdirectory-exists? datadir "/icons"))
|
(subdirectory-exists? datadir "/icons")
|
||||||
|
(subdirectory-exists? datadir "/mime")) ;shared-mime-info
|
||||||
(not (directory-included? datadir previous)))
|
(not (directory-included? datadir previous)))
|
||||||
(cons datadir previous)
|
(cons datadir previous)
|
||||||
previous)))
|
previous)))
|
||||||
|
|
Loading…
Reference in New Issue