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
1 changed files with 4 additions and 6 deletions

View File

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