diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 72c01e7bf8..e039ae6941 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -2587,18 +2587,18 @@ (define-public gdl-minimal (package/inherit gdl (name "gdl-minimal") (arguments - '(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'disable-doc-generation - ;; XXX: There is no easy way to disable generating the - ;; documentation. - (lambda _ - (substitute* "configure.in" - (("GTK_DOC_CHECK.*") "") - (("docs/.*") "")) - (substitute* "Makefile.am" - (("gdl docs po") "gdl po")) - #t))))) + (substitute-keyword-arguments (package-arguments gdl) + ((#:phases phases #~%standard-phases) + #~(modify-phases #$phases + (add-after 'unpack 'disable-doc-generation + ;; XXX: There is no easy way to disable generating the + ;; documentation. + (lambda _ + (substitute* "configure.in" + (("GTK_DOC_CHECK.*") "") + (("docs/.*") "")) + (substitute* "Makefile.am" + (("gdl docs po") "gdl po")))))))) (native-inputs (alist-delete "gtk-doc" (package-native-inputs gdl))))) (define-public libgnome-keyring