Add indentation for multi-line strings in seafile-client expression

This commit is contained in:
Moritz Maxeiner 2014-02-28 17:06:18 +01:00
parent 3d7010b5b7
commit 0fef1c502b

View File

@ -14,19 +14,19 @@ stdenv.mkDerivation rec
buildInputs = [ pkgconfig cmake qt4 seafile-shared makeWrapper ]; buildInputs = [ pkgconfig cmake qt4 seafile-shared makeWrapper ];
builder = writeScript "${name}-builder.sh" '' builder = writeScript "${name}-builder.sh" ''
source $stdenv/setup source $stdenv/setup
tar xvfz $src tar xvfz $src
cd seafile-client-* cd seafile-client-*
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_INSTALL_PREFIX="$out" . cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_INSTALL_PREFIX="$out" .
make -j1 make -j1
make install make install
wrapProgram $out/bin/seafile-applet \ wrapProgram $out/bin/seafile-applet \
--suffix PATH : ${ccnet}/bin:${seafile-shared}/bin --suffix PATH : ${ccnet}/bin:${seafile-shared}/bin
''; '';
meta = meta =
{ {