aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-07-09 23:00:29 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-07-09 23:00:29 +0200
commit2776b5d5bf3514717cf224de34c0bf2d894f1cee (patch)
treed8459435a160dc856aa17c0e33ec8ad2a6bf8c7b /gnu/packages
parent873325b0307a709be6f305472a5bfb9e07437aaa (diff)
downloadguix-2776b5d5bf3514717cf224de34c0bf2d894f1cee.tar
guix-2776b5d5bf3514717cf224de34c0bf2d894f1cee.tar.gz
gnu: gnome-dictionary: Fix install phase.
* gnu/packages/gnome.scm (gnome-dictionary)[arguments]: Add phase to prevent post-install script from running.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/gnome.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index b00076f630..04259e8f89 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6322,7 +6322,16 @@ fit the GNOME desktop.")
(base32
"007k2bq8iplg4psdpz074r5d4zxvn4s95qym4rw9hs6giljbrf0n"))))
(build-system meson-build-system)
- (arguments '(#:glib-or-gtk? #t))
+ (arguments '(#:glib-or-gtk? #t
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'patch-install-script
+ (lambda _
+ ;; This script attempts to compile glib schemas
+ ;; and create an empty MIME database. We do
+ ;; that elsewhere, so prevent it from running.
+ (substitute* "build-aux/post-install.sh"
+ (("\\[ -z \"\\$DESTDIR\" \\]") "false"))
+ #t)))))
(native-inputs
`(("glib:bin" ,glib "bin")
("gobject-introspection" ,gobject-introspection)