From 745c687be3fa6eeee97bd70141104156d8d8b811 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 9 Feb 2017 14:34:57 +0100 Subject: gnu: r: Fix syntax for INSTALL_OPTS. This is a follow-up to commit 4621acfd8272fa93d0530faa5f015b26a194b587. * gnu/packages/statistics.scm (r)[arguments]: Ensure that "--built-timestamp" appears on the same line as the other INSTALL_OPTS. --- gnu/packages/statistics.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index bfa4cafe1e..db719f64dd 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -131,8 +131,9 @@ (define-public r (add-after 'unpack 'build-recommended-packages-reproducibly (lambda _ (substitute* "src/library/Recommended/Makefile.in" - (("INSTALL_OPTS =.*" line) - (string-append line " --built-timestamp=1970-01-01"))) + (("INSTALL_OPTS =(.*)" line rest ) + (string-append "INSTALL_OPTS = --built-timestamp=1970-01-01" + rest))) #t)) (add-before 'configure 'set-default-pager ;; Set default pager to "cat", because otherwise it is "false", -- cgit v1.2.3