aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2018-09-19 14:38:10 +0200
committerDanny Milosavljevic <dannym@scratchpost.org>2018-09-19 14:41:01 +0200
commit6c1a6584149b542321597741b3f1459743be2b3e (patch)
tree31cdea2bef4ff993de231daef36b1ecbaec4bee2 /gnu
parent4a90fcf9e7a71a1672d9aa86f367f07ad297f899 (diff)
downloadguix-6c1a6584149b542321597741b3f1459743be2b3e.tar
guix-6c1a6584149b542321597741b3f1459743be2b3e.tar.gz
gnu: rust@1.19.0: Install libtest.
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Build libtest.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rust.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index e1c32dbe10..74de6f3ae1 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -411,6 +411,8 @@ test = { path = \"../libtest\" }
"output/rustc-build/rustc"
"-C" (string-append "linker="
(getenv "CC"))
+ ;; Required for libterm.
+ "-Z" "force-unstable-if-unmarked"
"-L" "output/target-libs"
(string-append "src/" name "/lib.rs")
"-o"
@@ -430,7 +432,13 @@ test = { path = \"../libtest\" }
("libpanic_unwind")
;; Uses "cc" to link.
("libstd" "-l" "dl" "-l" "rt" "-l" "pthread")
- ("libarena")))
+ ("libarena")
+
+ ;; Test dependencies:
+
+ ("libgetopts")
+ ("libterm")
+ ("libtest")))
#t)))
;; This phase is overridden by newer versions.
(replace 'check