mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: vim: Make builds bit-reproducable.
* gnu/packages/vim.scm (vim)[arguments]: Remove the compiled date.
This commit is contained in:
parent
db3cc007e3
commit
f51940b0f5
1 changed files with 8 additions and 0 deletions
|
@ -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 @@ (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"
|
||||
|
|
Loading…
Reference in a new issue