gerrit: avoid copy of war file in build

This commit is contained in:
Jörg Thalheim 2017-09-05 18:20:54 +01:00
parent 5113be54a4
commit abdd0bbf4e

View File

@ -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; {