Skip to content

Commit 6b4a41a

Browse files
alexanderkjeldaasbjornfor
authored andcommittedDec 20, 2016
libfaketime: make the build reproducible
A rebased version of cb8bd05 Note: we no longer apply the spurious lrt patch. This allows `nix-build --check -A libfaketime` to succeed.
1 parent fb2a7cd commit 6b4a41a

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
 

Diff for: ‎pkgs/development/libraries/libfaketime/default.nix

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
88
sha256 = "1dw2lqsv2iqwxg51mdn25b4fjj3v357s0mc6ahxawqp210krg29s";
99
};
1010

11+
patches = [
12+
./no-date-in-gzip-man-page.patch
13+
];
14+
1115
preBuild = ''
1216
makeFlagsArray+=(PREFIX="$out" LIBDIRNAME=/lib)
1317
'';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff -ur libfaketime-0.9.5.orig/man/Makefile libfaketime-0.9.5/man/Makefile
2+
--- libfaketime-0.9.5.orig/man/Makefile 2013-10-13 11:19:30.000000000 +0200
3+
+++ libfaketime-0.9.5/man/Makefile 2014-04-13 01:22:14.362296519 +0200
4+
@@ -6,7 +6,7 @@
5+
6+
install:
7+
$(INSTALL) -Dm0644 faketime.1 "${DESTDIR}${PREFIX}/share/man/man1/faketime.1"
8+
- gzip -f "${DESTDIR}${PREFIX}/share/man/man1/faketime.1"
9+
+ gzip -9nf "${DESTDIR}${PREFIX}/share/man/man1/faketime.1"
10+
11+
uninstall:
12+
rm -f "${DESTDIR}${PREFIX}/share/man/man1/faketime.1.gz"

0 commit comments

Comments
 (0)
Please sign in to comment.