dbus: docs: make id's reproducible
With this parameter, generating docs from the same sources will produce the same 'bit-by-bit' result each time. This is particularly important since dbus is part of the 'minimal' testset at https://r13y.com/ Also submitted upstream (though in a slightly different form): https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/189
This commit is contained in:
@@ -30,7 +30,13 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1zp5gpx61v1cpqf2zwb1cidhp9xylvw49d3zydkxqk6b1qa20xpp";
|
||||
};
|
||||
|
||||
patches = lib.optional stdenv.isSunOS ./implement-getgrouplist.patch;
|
||||
patches = [
|
||||
# 'generate.consistent.ids=1' ensures reproducible docs, for further details see
|
||||
# http://docbook.sourceforge.net/release/xsl/current/doc/html/generate.consistent.ids.html
|
||||
# Also applied upstream in https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/189,
|
||||
# expected in version 1.14
|
||||
./docs-reproducible-ids.patch
|
||||
] ++ (lib.optional stdenv.isSunOS ./implement-getgrouplist.patch);
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tools/Makefile.in \
|
||||
|
||||
Reference in New Issue
Block a user