From f51940b0f57fd5657f5ae0f6fa6f8b8b55f1dec7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 12 Sep 2016 21:52:17 +0300 Subject: gnu: vim: Make builds bit-reproducable. * gnu/packages/vim.scm (vim)[arguments]: Remove the compiled date. --- gnu/packages/vim.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 68c95d09ce..b1ee527c7a 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Cyril Roelandt +;;; Copyright © 2016 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -45,6 +46,13 @@ (define-public vim #:parallel-tests? #f #:phases (modify-phases %standard-phases + (add-after 'unpack 'make-bit-reproducable + (lambda _ + (substitute* "src/version.c" + ((" VIM_VERSION_LONG_DATE") " VIM_VERSION_LONG") + ((" __DATE__") "") + ((" __TIME__") "")) + #t)) (add-after 'configure 'patch-config-files (lambda _ (substitute* "runtime/tools/mve.awk" -- cgit v1.2.3