From 42c127e876a3fd056bfe981c8b68aea15da9ea4a Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Thu, 23 Mar 2017 19:35:05 +0100 Subject: gnu: rustc: Simplify configure phase. * gnu/packages/rust.scm (rustc): Simplify configure phase. --- gnu/packages/rust.scm | 7 ++----- 1 file 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 _ -- cgit v1.2.3