From 9459dd27ec4c1249d38e62388b02f4c19a659a24 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Wed, 16 Aug 2017 15:30:44 +0200 Subject: [PATCH] liquibase: clean up installed documentation Fixes #28281. --- pkgs/development/tools/database/liquibase/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/tools/database/liquibase/default.nix b/pkgs/development/tools/database/liquibase/default.nix index 22b83a7569e3..11932965af49 100644 --- a/pkgs/development/tools/database/liquibase/default.nix +++ b/pkgs/development/tools/database/liquibase/default.nix @@ -35,6 +35,15 @@ stdenv.mkDerivation rec { mkdir -p $out/{bin,lib,sdk} mv ./* $out/ + # Clean up documentation. + mkdir -p $out/share/doc/${name} + mv $out/LICENSE.txt \ + $out/README.txt \ + $out/share/doc/${name} + + # Remove silly files. + rm $out/liquibase.bat $out/liquibase.spec + # we provide our own script rm $out/liquibase