summaryrefslogtreecommitdiffstats
path: root/pkgs/development/tools/coursier
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2017-12-14 15:39:15 +0000
committerOrivej Desh <orivej@gmx.fr>2017-12-14 15:41:42 +0000
commitf9849698a8f65140ee0c31cf07eea70f5c6f74fb (patch)
tree87c9e720cdc40ad248dcce6a6ef2fa8f4c098b80 /pkgs/development/tools/coursier
parent9759b658465f9d85e9ac78cf5f2fe665ea52aca9 (diff)
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
Diffstat (limited to 'pkgs/development/tools/coursier')
-rw-r--r--pkgs/development/tools/coursier/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/coursier/default.nix b/pkgs/development/tools/coursier/default.nix
index 874f8dcd96a3..2f2200010709 100644
--- a/pkgs/development/tools/coursier/default.nix
+++ b/pkgs/development/tools/coursier/default.nix
@@ -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; {