Skip to content

Commit

Permalink
mkgmap-splitter: migrate to ant setup hook
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodachi94 committed Nov 19, 2024
1 parent 8ec815b commit 71a2599
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions pkgs/applications/misc/mkgmap/splitter/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,9 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ jdk ant makeWrapper stripJavaArchivesHook ];

buildPhase = ''
runHook preBuild
ant
runHook postBuild
'';

inherit doCheck;

checkPhase = ''
runHook preCheck
ant run.tests
ant run.func-tests
runHook postCheck
'';
antCheckFlags = [ "run.tests" "run.func-tests" ];

installPhase = ''
runHook preInstall
Expand Down

0 comments on commit 71a2599

Please sign in to comment.