aboutsummaryrefslogtreecommitdiff
path: root/tests/packages.scm
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-04-22 16:54:13 -0400
committerMark H Weaver <mhw@netris.org>2015-04-22 17:25:28 -0400
commit5cfc17cb7f813cacba0fc583d5b7d13cfa51063e (patch)
tree5c1fb17cecb9d25a087e87a16947d71a48d8aeed /tests/packages.scm
parent76eb726617327fa42faf7d16a34d459a7a5d37de (diff)
downloadguix-5cfc17cb7f813cacba0fc583d5b7d13cfa51063e.tar
guix-5cfc17cb7f813cacba0fc583d5b7d13cfa51063e.tar.gz
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).
Diffstat (limited to 'tests/packages.scm')
-rw-r--r--tests/packages.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/packages.scm b/tests/packages.scm
index 91910324fe..4e52813659 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