gnu: rustc: Honor max line length.
* gnu/packages/rust.scm (rustc)[arguments]: patch-tests: Honor max line length.
This commit is contained in:
parent
61a3137bdd
commit
9b7a9580d4
|
@ -238,11 +238,12 @@ rustc-bootstrap and cargo-bootstrap packages.")
|
||||||
#t))
|
#t))
|
||||||
(add-after 'unpack 'patch-tests
|
(add-after 'unpack 'patch-tests
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "src/tools/tidy/src/main.rs"
|
(let ((bash (assoc-ref inputs "bash")))
|
||||||
(("^.*cargo.*::check.*$") ""))
|
(substitute* "src/tools/tidy/src/main.rs"
|
||||||
(substitute* "src/libstd/process.rs"
|
(("^.*cargo.*::check.*$") ""))
|
||||||
(("\"/bin/sh\"") (string-append "\"" (assoc-ref inputs "bash") "/bin/sh\"")))
|
(substitute* "src/libstd/process.rs"
|
||||||
#t))
|
(("\"/bin/sh\"") (string-append "\"" bash "/bin/sh\"")))
|
||||||
|
#t)))
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
|
Loading…
Reference in New Issue