mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: rustc: Simplify configure phase.
* gnu/packages/rust.scm (rustc): Simplify configure phase.
This commit is contained in:
parent
120349bfb4
commit
42c127e876
1 changed files with 2 additions and 5 deletions
|
@ -224,12 +224,9 @@ (define-public rustc
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-configure
|
(add-after 'unpack 'patch-configure
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Detect target CPU correctly.
|
|
||||||
(substitute* "configure"
|
(substitute* "configure"
|
||||||
(("/usr/bin/env") (which "env")))
|
(("/usr/bin/env") (which "env")) ; Detect target CPU correctly.
|
||||||
;; Avoid curl as a build dependency.
|
(("probe_need CFG_CURL curl") "")) ; Avoid curl as a build dependency.
|
||||||
(substitute* "configure"
|
|
||||||
(("probe_need CFG_CURL curl") ""))
|
|
||||||
#t))
|
#t))
|
||||||
(add-after 'unpack 'set-env
|
(add-after 'unpack 'set-env
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Loading…
Reference in a new issue