summaryrefslogtreecommitdiffstats
path: root/pkgs/development/tools/coursier
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-07-21 15:27:53 +0100
committerJörg Thalheim <joerg@thalheim.io>2018-07-21 15:29:30 +0100
commitdcd5d7af05eb7db180270af3953ab4498029a24f (patch)
tree39120b4f11160e06a76a06e82c972f79a00e94e4 /pkgs/development/tools/coursier
parent1493a45f4bd6a2d113030391a7c97152fcf39647 (diff)
coursier: patch shebang to make it work in the nix sandboxes
Before `/usr/bin/env sh` was in the script.
Diffstat (limited to 'pkgs/development/tools/coursier')
-rw-r--r--pkgs/development/tools/coursier/default.nix1
1 files changed, 1 insertions, 0 deletions
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
'';