[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: rustc: Honor max line length.
From: |
Danny Milosavljevic |
Subject: |
01/01: gnu: rustc: Honor max line length. |
Date: |
Wed, 22 Mar 2017 12:42:09 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit 9b7a9580d46e7c2840e7cbd9bb0bfa2fb9dd654f
Author: Danny Milosavljevic <address@hidden>
Date: Wed Mar 22 17:40:06 2017 +0100
gnu: rustc: Honor max line length.
* gnu/packages/rust.scm (rustc)[arguments]: patch-tests: Honor max line
length.
---
gnu/packages/rust.scm | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index b72a206..af4d322 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -238,11 +238,12 @@ rustc-bootstrap and cargo-bootstrap packages.")
#t))
(add-after 'unpack 'patch-tests
(lambda* (#:key inputs #:allow-other-keys)
- (substitute* "src/tools/tidy/src/main.rs"
- (("^.*cargo.*::check.*$") ""))
- (substitute* "src/libstd/process.rs"
- (("\"/bin/sh\"") (string-append "\"" (assoc-ref inputs "bash")
"/bin/sh\"")))
- #t))
+ (let ((bash (assoc-ref inputs "bash")))
+ (substitute* "src/tools/tidy/src/main.rs"
+ (("^.*cargo.*::check.*$") ""))
+ (substitute* "src/libstd/process.rs"
+ (("\"/bin/sh\"") (string-append "\"" bash "/bin/sh\"")))
+ #t)))
(replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))