diff options
Diffstat (limited to 'pkgs/tools/typesetting/fop/default.nix')
-rw-r--r-- | pkgs/tools/typesetting/fop/default.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/tools/typesetting/fop/default.nix b/pkgs/tools/typesetting/fop/default.nix index e31ea73f0096..94a24211f9a3 100644 --- a/pkgs/tools/typesetting/fop/default.nix +++ b/pkgs/tools/typesetting/fop/default.nix @@ -5,6 +5,7 @@ , jdk , jre , makeWrapper +, stripJavaArchivesHook }: stdenv.mkDerivation (finalAttrs: { @@ -16,16 +17,11 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-b7Av17wu6Ar/npKOiwYqzlvBFSIuXTpqTacM1sxtBvc="; }; - postPatch = '' - # Fix jar timestamps for reproducibility - substituteInPlace fop/build.xml \ - --replace-fail '<jar ' '<jar modificationtime="0" ' - ''; - nativeBuildInputs = [ ant jdk makeWrapper + stripJavaArchivesHook ]; # Note: not sure if this is needed anymore |