diff options
author | TomaSajt <62384384+TomaSajt@users.noreply.github.com> | 2024-03-17 13:35:55 +0100 |
---|---|---|
committer | TomaSajt <62384384+TomaSajt@users.noreply.github.com> | 2024-03-17 13:35:55 +0100 |
commit | 436fe7b59baed6bc65ac8430b13b8e4b9908e4eb (patch) | |
tree | 5d9f2aae4e4b1f2e2a867fc4b2190bd9cf538650 /pkgs/applications/office/jameica | |
parent | 0e209537966c90438bbb0d71124be25ffc2084c5 (diff) |
treewide: unify ant determinism methods
Diffstat (limited to 'pkgs/applications/office/jameica')
-rw-r--r-- | pkgs/applications/office/jameica/default.nix | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgs/applications/office/jameica/default.nix b/pkgs/applications/office/jameica/default.nix index 683d51bf43f2a..66d2a80c55550 100644 --- a/pkgs/applications/office/jameica/default.nix +++ b/pkgs/applications/office/jameica/default.nix @@ -4,6 +4,7 @@ , makeDesktopItem , makeWrapper , wrapGAppsHook +, stripJavaArchivesHook , ant , jdk , jre @@ -46,13 +47,7 @@ stdenv.mkDerivation rec { hash = "sha256-MSVSd5DyVL+dcfTDv1M99hxickPwT2Pt6QGNsu6DGZI="; }; - postPatch = '' - # Fix jar timestamps for reproducibility - substituteInPlace build/build.xml \ - --replace-fail '<jar ' '<jar modificationtime="0" ' - ''; - - nativeBuildInputs = [ ant jdk wrapGAppsHook makeWrapper ]; + nativeBuildInputs = [ ant jdk wrapGAppsHook makeWrapper stripJavaArchivesHook ]; buildInputs = lib.optionals stdenv.isLinux [ gtk2 glib libXtst ] ++ lib.optional stdenv.isDarwin Cocoa; |