gnu: tootle: Remove trailing #t in phases.

* gnu/packages/mastodon.scm (tootle)[arguments]: Remove trailing #t.
This commit is contained in:
Ludovic Courtès 2022-01-05 23:10:36 +01:00
parent f2d304ac98
commit 282197b521
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -105,8 +105,7 @@ (define-public tootle
;; Don't create 'icon-theme.cache'.
(lambda _
(substitute* "meson/post_install.py"
(("gtk-update-icon-cache") "true"))
#t))
(("gtk-update-icon-cache") "true"))))
(add-after 'unpack 'patch-source
(lambda _
(substitute* "src/Dialogs/NewAccount.vala"
@ -115,13 +114,12 @@ (define-public tootle
(substitute* "src/Build.vala"
(("(os_name = ).*" _ first) (string-append first "\"GNU\";\n"))
(("(os_ver = ).*" _ first) (string-append first "\"Guix\";\n"))
(("GLib.Environment.get_os_info.*") "\"unknown\";\n"))
#t))
(("GLib.Environment.get_os_info.*") "\"unknown\";\n"))))
(add-after 'install 'symlink-package
(lambda* (#:key outputs #:allow-other-keys)
(symlink "com.github.bleakgrey.tootle"
(string-append (assoc-ref outputs "out") "/bin/tootle"))
#t)))))
(string-append (assoc-ref outputs "out")
"/bin/tootle")))))))
(native-inputs
(list gettext-minimal
`(,glib "bin") ; for glib-compile-resources