coursier: fix shebang
Do not override phases for the fixupPhase to patching the script interpreter of .coursier-wrapped. Fixes the sandboxed build of scalafmt: https://github.com/NixOS/nixpkgs/pull/32442#issuecomment-351742204
This commit is contained in:
parent
9759b65846
commit
f9849698a8
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user