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:
parent
1493a45f4b
commit
dcd5d7af05
@ -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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user