diff --git a/pkgs/tools/text/xml/jing-trang/default.nix b/pkgs/tools/text/xml/jing-trang/default.nix index 0acc471b701742..49f86ed7df3b65 100644 --- a/pkgs/tools/text/xml/jing-trang/default.nix +++ b/pkgs/tools/text/xml/jing-trang/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { fetchSubmodules = true; }; - buildInputs = [ jdk_headless ant saxon ]; + buildInputs = [ jdk_headless ant ant.hook saxon ]; CLASSPATH = "lib/saxon.jar"; @@ -20,8 +20,6 @@ stdenv.mkDerivation rec { ./no-git-during-build.patch ]; - preBuild = "ant"; - installPhase = '' mkdir -p "$out"/{share/java,bin} cp ./build/*.jar ./lib/resolver.jar "$out/share/java/"