coursier: patch shebang to make it work in the nix sandboxes

Before `/usr/bin/env sh` was in the script.
This commit is contained in:
Jörg Thalheim 2018-07-21 15:27:53 +01:00
parent 1493a45f4b
commit dcd5d7af05

View File

@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
buildCommand = ''
install -Dm555 $src $out/bin/coursier
patchShebangs $out/bin/coursier
wrapProgram $out/bin/coursier --prefix PATH ":" ${jre}/bin
'';