3
0
Fork 0
forked from mirrors/nixpkgs

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 ];
phases = "installPhase";
unpackPhase = ":";
installPhase = ''
mkdir -p $out/bin
cp ${src} $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; {