[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: tests: Select appropriate bootstrap guile version for current sys
From: |
Mark H. Weaver |
Subject: |
01/03: tests: Select appropriate bootstrap guile version for current system. |
Date: |
Wed, 22 Apr 2015 21:26:23 +0000 |
mhw pushed a commit to branch master
in repository guix.
commit 5cfc17cb7f813cacba0fc583d5b7d13cfa51063e
Author: Mark H Weaver <address@hidden>
Date: Wed Apr 22 16:54:13 2015 -0400
tests: Select appropriate bootstrap guile version for current system.
* tests/packages.scm ("package-source-derivation, snippet"): Select
appropriate
guile-2.0.x.tar.xz tarball based on the value of (%current-system).
---
tests/packages.scm | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/tests/packages.scm b/tests/packages.scm
index 9191032..4e52813 100644
--- a/tests/packages.scm
+++ b/tests/packages.scm
@@ -210,7 +210,11 @@
(unless (network-reachable?) (test-skip 1))
(test-equal "package-source-derivation, snippet"
"OK"
- (let* ((file (search-bootstrap-binary "guile-2.0.9.tar.xz"
+ (let* ((file (search-bootstrap-binary (match (%current-system)
+ ("armhf-linux"
+ "guile-2.0.11.tar.xz")
+ (_
+ "guile-2.0.9.tar.xz"))
(%current-system)))
(sha256 (call-with-input-file file port-sha256))
(fetch (lambda* (url hash-algo hash