Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkgs/development/libraries/libgcrypt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ stdenv.mkDerivation (rec {
make check
'';

patches = [ ./no-build-timestamp.patch ];

meta = {
description = "GNU Libgcrypt, a general-pupose cryptographic library";

Expand Down
12 changes: 12 additions & 0 deletions pkgs/development/libraries/libgcrypt/no-build-timestamp.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff -ur libgcrypt-1.5.3.orig/configure libgcrypt-1.5.3/configure
--- libgcrypt-1.5.3.orig/configure 2013-07-25 11:22:47.000000000 +0200
+++ libgcrypt-1.5.3/configure 2014-04-09 00:17:58.659147199 +0200
@@ -16520,6 +16520,7 @@


BUILD_TIMESTAMP=`date -u +%Y-%m-%dT%H:%M+0000 2>/dev/null || date`
+BUILD_TIMESTAMP=1970-01-01T00:00+0000


cat >>confdefs.h <<_ACEOF
Only in libgcrypt-1.5.3: out
2 changes: 2 additions & 0 deletions pkgs/development/libraries/libgpg-error/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ stdenv.mkDerivation (rec {

doCheck = true;

patches = [ ./no-build-timestamp.patch ];

meta = {
description = "Libgpg-error, a small library that defines common error values for all GnuPG components";

Expand Down
11 changes: 11 additions & 0 deletions pkgs/development/libraries/libgpg-error/no-build-timestamp.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff -ur libgpg-error-1.12.orig/configure libgpg-error-1.12/configure
--- libgpg-error-1.12.orig/configure 2013-06-24 06:42:28.000000000 +0200
+++ libgpg-error-1.12/configure 2014-04-09 00:12:47.867856520 +0200
@@ -14585,6 +14585,7 @@


BUILD_TIMESTAMP=`date -u +%Y-%m-%dT%H:%M+0000 2>/dev/null || date`
+BUILD_TIMESTAMP=1970-01-01T00:00+0000


cat >>confdefs.h <<_ACEOF
1 change: 1 addition & 0 deletions pkgs/os-specific/linux/busybox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ stdenv.mkDerivation rec {
};

configurePhase = ''
export KCONFIG_NOTIMESTAMP=1
make defconfig
${configParser}
cat << EOF | parseconfig
Expand Down