From dcd5d7af05eb7db180270af3953ab4498029a24f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 21 Jul 2018 15:27:53 +0100 Subject: [PATCH] coursier: patch shebang to make it work in the nix sandboxes Before `/usr/bin/env sh` was in the script. --- pkgs/development/tools/coursier/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/tools/coursier/default.nix b/pkgs/development/tools/coursier/default.nix index e3c8d7ed014d..7e660f3fcd90 100644 --- a/pkgs/development/tools/coursier/default.nix +++ b/pkgs/development/tools/coursier/default.nix @@ -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 '';