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 @@ (define-public rustc (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 _