guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: vim: Make builds bit-reproducable.


From: Efraim Flashner
Subject: 02/02: gnu: vim: Make builds bit-reproducable.
Date: Mon, 12 Sep 2016 18:55:05 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit f51940b0f57fd5657f5ae0f6fa6f8b8b55f1dec7
Author: Efraim Flashner <address@hidden>
Date:   Mon Sep 12 21:52:17 2016 +0300

    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(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 68c95d0..b1ee527 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 <address@hidden>
+;;; Copyright © 2016 Efraim Flashner <address@hidden>
 ;;;
 ;;; 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]