me
/
guix
Archived
1
0
Fork 0

gnu: rustc: Simplify configure phase.

* gnu/packages/rust.scm (rustc): Simplify configure phase.
master
Danny Milosavljevic 2017-03-23 19:35:05 +01:00
parent 120349bfb4
commit 42c127e876
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 2 additions and 5 deletions

View File

@ -224,12 +224,9 @@ rustc-bootstrap and cargo-bootstrap packages.")
(modify-phases %standard-phases
(add-after 'unpack 'patch-configure
(lambda _
;; Detect target CPU correctly.
(substitute* "configure"
(("/usr/bin/env") (which "env")))
;; Avoid curl as a build dependency.
(substitute* "configure"
(("probe_need CFG_CURL curl") ""))
(("/usr/bin/env") (which "env")) ; Detect target CPU correctly.
(("probe_need CFG_CURL curl") "")) ; Avoid curl as a build dependency.
#t))
(add-after 'unpack 'set-env
(lambda _