aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2017-03-23 19:35:05 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2017-03-23 19:36:10 +0100
commit42c127e876a3fd056bfe981c8b68aea15da9ea4a (patch)
tree693517e187cede8c1a3063e39a4f6d7c54de3d7b
parent120349bfb4978ae28bb434025e8a045c385e2441 (diff)
downloadpatches-42c127e876a3fd056bfe981c8b68aea15da9ea4a.tar
patches-42c127e876a3fd056bfe981c8b68aea15da9ea4a.tar.gz
gnu: rustc: Simplify configure phase.
* gnu/packages/rust.scm (rustc): Simplify configure phase.
-rw-r--r--gnu/packages/rust.scm7
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index af4d322a73..9a56b1ffed 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -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 _