diff options
author | Orivej Desh <orivej@gmx.fr> | 2017-12-14 15:39:15 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-12-14 15:41:42 +0000 |
commit | f9849698a8f65140ee0c31cf07eea70f5c6f74fb (patch) | |
tree | 87c9e720cdc40ad248dcce6a6ef2fa8f4c098b80 /pkgs/development/tools | |
parent | 9759b658465f9d85e9ac78cf5f2fe665ea52aca9 (diff) | |
download | nixlib-f9849698a8f65140ee0c31cf07eea70f5c6f74fb.tar nixlib-f9849698a8f65140ee0c31cf07eea70f5c6f74fb.tar.gz nixlib-f9849698a8f65140ee0c31cf07eea70f5c6f74fb.tar.bz2 nixlib-f9849698a8f65140ee0c31cf07eea70f5c6f74fb.tar.lz nixlib-f9849698a8f65140ee0c31cf07eea70f5c6f74fb.tar.xz nixlib-f9849698a8f65140ee0c31cf07eea70f5c6f74fb.tar.zst nixlib-f9849698a8f65140ee0c31cf07eea70f5c6f74fb.zip |
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')
-rw-r--r-- | pkgs/development/tools/coursier/default.nix | 4 |
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; { |