From a6c98dfaedebba172d451d62ba2d4c9b18aea3b8 Mon Sep 17 00:00:00 2001
From: Lu Hui <luhux76@gmail.com>
Date: Sun, 20 Mar 2022 19:16:52 +0800
Subject: [PATCH 1/4] gnu: n2n: more reproducible.
* gnu/packages/vpn.scm (n2n): [phases]: New Variable.
---
gnu/packages/vpn.scm | 5 +++++
1 file changed, 5 insertions(+)
@@ -322,6 +322,11 @@ (define-public n2n
(lambda _
(substitute* "autogen.sh"
(("./configure") ""))))
+ (add-before 'bootstrap 'more-reproducible
+ (lambda _
+ (substitute* "configure.seed"
+ (("DATE=`date +\"%Y-%m-%d\"`")
+ "DATE=`TZ=utc date -d @0 +\"%Y-%m-%d\"`"))))
(add-before 'configure 'fix-configure
(lambda* (#:key inputs native-inputs #:allow-other-keys)
(substitute* "configure"
--
2.34.0