Merge pull request #32669 from orivej/coursier

coursier: fix shebang
This commit is contained in:
Orivej Desh 2017-12-14 18:35:56 +00:00 committed by GitHub
commit 165dbace84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,13 +11,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
phases = "installPhase"; unpackPhase = ":";
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
cp ${src} $out/bin/coursier cp ${src} $out/bin/coursier
chmod +x $out/bin/coursier chmod +x $out/bin/coursier
wrapProgram $out/bin/coursier --prefix PATH ":" ${jre}/bin ; wrapProgram $out/bin/coursier --prefix PATH ":" ${jre}/bin
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {