guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 02/02: gnu: fastboot: Fix ‘--version’ output.
Date: Wed, 8 Dec 2021 09:41:50 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 852ad65bd45a81a441a85318badf17a005cad111
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Dec 8 15:38:29 2021 +0100

    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.
---
 gnu/packages/android.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 016943e..74d97ab 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]