Skip to content

Commit

Permalink
jing-trang: migrate to ant setup hook
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodachi94 committed Nov 23, 2024
1 parent ab524a6 commit d8a987f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkgs/tools/text/xml/jing-trang/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};

buildInputs = [ jdk_headless ant saxon ];
buildInputs = [ jdk_headless ant ant.hook saxon ];

CLASSPATH = "lib/saxon.jar";

patches = [
./no-git-during-build.patch
];

preBuild = "ant";

installPhase = ''
mkdir -p "$out"/{share/java,bin}
cp ./build/*.jar ./lib/resolver.jar "$out/share/java/"
Expand Down

0 comments on commit d8a987f

Please sign in to comment.