summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/guix.scm10
1 files changed, 4 insertions, 6 deletions
diff --git a/scripts/guix.scm b/scripts/guix.scm
index 04a79a4..006b980 100644
--- a/scripts/guix.scm
+++ b/scripts/guix.scm
@@ -191,7 +191,7 @@
(list
(string-append "CFLAGS= "
;; TODO: see the comment below about
- ;; unpacking android-core tarball.
+ ;; copying the android-core source code.
;; Uncomment the following lines and
;; remove -I ../core/include when
;; this is fixed:
@@ -203,15 +203,13 @@
%standard-phases
;; TODO: Guix's android.scm does that too in android-ext4-utils however
;; it might be a good idea to instead package the android-code source
- ;; code as-is instead of just downloading it as a tarball
+ ;; code as-is and refer to it instead of just copyring it locally
(add-after
'unpack 'unpack-core
(lambda* (#:key inputs #:allow-other-keys)
(mkdir-p "core")
- (with-directory-excursion
- "core"
- (invoke "tar" "axf" (assoc-ref inputs "android-core")
- "--strip-components=1"))
+ (copy-recursively (assoc-ref inputs "android-core")
+ "core")
#t))
(delete 'bootstrap)
(add-before