gnu: strawberry: Remove trailing #t from phases and snippet.

* gnu/packages/music.scm (strawberry)[arguments]<#:phases>: Remove trailing #t.
[snippet]: Likewise.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Michael Rohleder 2022-11-01 01:07:16 +01:00 committed by Christopher Baines
parent 7f75be7312
commit 318581c5fc
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -504,8 +504,7 @@ (define-public strawberry
(find-files "3rdparty"
(lambda (file stat)
(string-match "^3rdparty/[^/]*$" file))
#:directories? #t))
#t))))
#:directories? #t))))))
(build-system cmake-build-system)
(arguments
`(#:test-target "run_strawberry_tests"
@ -516,15 +515,13 @@ (define-public strawberry
(let ((out (assoc-ref outputs "out"))
(gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
(wrap-program (string-append out "/bin/strawberry")
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
#t)))
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))))
(add-before 'check 'pre-check
(lambda* (#:key inputs #:allow-other-keys)
(let ((xorg-server (assoc-ref inputs "xorg-server")))
(system (format #f "~a/bin/Xvfb :1 &" xorg-server))
(setenv "DISPLAY" ":1")
(setenv "HOME" (getcwd))
#t))))))
(setenv "HOME" (getcwd))))))))
(native-inputs
`(("gettext" ,gettext-minimal)
("googletest" ,googletest)