~ruther/guix-local

852ad65bd45a81a441a85318badf17a005cad111 — Tobias Geerinckx-Rice 4 years ago 5573d98
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.
1 files changed, 2 insertions(+), 1 deletions(-)

M gnu/packages/android.scm
M gnu/packages/android.scm => gnu/packages/android.scm +2 -1
@@ 668,7 668,8 @@ file system.")
         (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)