gnu: vim: Make builds bit-reproducable.

* gnu/packages/vim.scm (vim)[arguments]: Remove the compiled date.
This commit is contained in:
Efraim Flashner 2016-09-12 21:52:17 +03:00
parent db3cc007e3
commit f51940b0f5
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@ -45,6 +46,13 @@
#: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"