diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2018-12-02 14:13:48 +0100 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2018-12-02 14:16:43 +0100 |
commit | 8cddb0d6363d13f74de5409ef29b7913228f49b9 (patch) | |
tree | 93941d6a8a02be08af4a3fc021a15c608851d018 /gnu/packages/rust.scm | |
parent | 886d833e39fe5a193abaf486e64d8f35ac491b27 (diff) | |
download | patches-8cddb0d6363d13f74de5409ef29b7913228f49b9.tar patches-8cddb0d6363d13f74de5409ef29b7913228f49b9.tar.gz |
gnu: rust: Remove flaky test.
* gnu/packages/rust.scm (rust-1.22)[arguments]<#:phases>[remove-flaky-test]:
New phase.
Diffstat (limited to 'gnu/packages/rust.scm')
-rw-r--r-- | gnu/packages/rust.scm | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 1d9e629a22..ef40431733 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -576,8 +576,20 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\" #t))))))))) (define-public rust-1.22 - (rust-bootstrapped-package rust-1.21 "1.22.1" - "1lrzzp0nh7s61wgfs2h6ilaqi6iq89f1pd1yaf65l87bssyl4ylb")) + (let ((base-rust (rust-bootstrapped-package rust-1.21 "1.22.1" + "1lrzzp0nh7s61wgfs2h6ilaqi6iq89f1pd1yaf65l87bssyl4ylb"))) + (package + (inherit base-rust) + (arguments + (substitute-keyword-arguments (package-arguments base-rust) + ((#:phases phases) + `(modify-phases ,phases + (add-after 'unpack 'remove-flaky-test + (lambda _ + ;; See <https://github.com/rust-lang/rust/issues/43402>. + (when (file-exists? "src/test/run-make/issue-26092") + (delete-file-recursively "src/test/run-make/issue-26092")) + #t))))))))) (define-public rust-1.23 (let ((base-rust (rust-bootstrapped-package rust-1.22 "1.23.0" |