Skip to content

Commit

Permalink
gerrit: avoid copy of war file in build
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Sep 5, 2017
1 parent 5113be5 commit abdd0bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/applications/version-management/gerrit/default.nix
Expand Up @@ -11,10 +11,11 @@ stdenv.mkDerivation rec {

outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "1wg7bbhwgi9sxn7skxb9gwaydq9jzpdhglwgq5kihj7r269fmr4k";
outputHash = "1j1afxv7yj2fxaw0wy8kmxi6sl9fwj8xsxs5kzg9qz5gzayb26kp";

buildCommand = ''
install -D ${src} "$out"/webapps/gerrit-${version}.war
mkdir -p "$out"/webapps/
ln -s ${src} "$out"/webapps/gerrit-${version}.war
'';

meta = with stdenv.lib; {
Expand Down

0 comments on commit abdd0bb

Please sign in to comment.