mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-12 13:57:23 +00:00
Merge pull request #77202 from raboof/jitterentropy-reproducible-manpages
jitterentropy: make man pages reproducible
This commit is contained in:
commit
5992086c28
@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
|
|||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0n2l1fxr7bynnarpwdjifb2fvlsq8w5wmfh31yk5nrc756cjlgyw";
|
sha256 = "0n2l1fxr7bynnarpwdjifb2fvlsq8w5wmfh31yk5nrc756cjlgyw";
|
||||||
};
|
};
|
||||||
|
patches = [
|
||||||
|
# Can be removed when upgrading beyond 2.2.0
|
||||||
|
./reproducible-manpages.patch
|
||||||
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/Makefile b/Makefile
|
||||||
|
index 4ff069b..3b8714a 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -58,7 +58,7 @@ cppcheck:
|
||||||
|
install:
|
||||||
|
install -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man3
|
||||||
|
install -m 644 doc/$(NAME).3 $(DESTDIR)$(PREFIX)/share/man/man3/
|
||||||
|
- gzip -9 $(DESTDIR)$(PREFIX)/share/man/man3/$(NAME).3
|
||||||
|
+ gzip -n -9 $(DESTDIR)$(PREFIX)/share/man/man3/$(NAME).3
|
||||||
|
install -d -m 0755 $(DESTDIR)$(PREFIX)/$(LIBDIR)
|
||||||
|
install -m 0755 -s lib$(NAME).so.$(LIBVERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/
|
||||||
|
install -d -m 0755 $(DESTDIR)$(PREFIX)/$(INCDIR)
|
Loading…
Reference in New Issue
Block a user