From 852ad65bd45a81a441a85318badf17a005cad111 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 8 Dec 2021 15:38:29 +0100 Subject: gnu: fastboot: Fix ‘--version’ output. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/android.scm (fastboot)[arguments]: Replace broken ‘git rev-parse’ shell command with the actual package VERSION. Reported by kwjc on #guix. --- gnu/packages/android.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/android.scm') diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm index 016943e0f0..74d97ab3b6 100644 --- a/gnu/packages/android.scm +++ b/gnu/packages/android.scm @@ -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) -- cgit v1.2.3