gnu: fastboot: Fix ‘--version’ output.

* gnu/packages/android.scm (fastboot)[arguments]: Replace broken
‘git rev-parse’ shell command with the actual package VERSION.

Reported by kwjc on #guix.
This commit is contained in:
Tobias Geerinckx-Rice 2021-12-08 15:38:29 +01:00
parent 5573d98f81
commit 852ad65bd4
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -668,7 +668,8 @@ (define-public fastboot
(add-after 'enter-source 'patch-source
(lambda _
(substitute* "Android.mk"
(("libext4_utils_host") "libext4_utils_host libselinux libpcre"))
(("libext4_utils_host") "libext4_utils_host libselinux libpcre")
(("\\$\\(shell git .*\\)") ,version))
#t))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)