gerrit: avoid copy of war file in build
This commit is contained in:
parent
5113be54a4
commit
abdd0bbf4e
@ -11,10 +11,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputHashAlgo = "sha256";
|
outputHashAlgo = "sha256";
|
||||||
outputHashMode = "recursive";
|
outputHashMode = "recursive";
|
||||||
outputHash = "1wg7bbhwgi9sxn7skxb9gwaydq9jzpdhglwgq5kihj7r269fmr4k";
|
outputHash = "1j1afxv7yj2fxaw0wy8kmxi6sl9fwj8xsxs5kzg9qz5gzayb26kp";
|
||||||
|
|
||||||
buildCommand = ''
|
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; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user