Merge pull request #98693 from fzakaria/jruby-shebang-fix
Fix shebang for binaries in JRuby
commit7011d448ecbaba282bc039b15a29a6ac78ad290c
authorJörg Thalheim <Mic92@users.noreply.github.com>
dateFri 25 Sep 2020, 10:05 (6 years ago)
parentb21cd5b8da7bd6
pkgs/development/interpreters/jruby/default.nix+4
@@ -40,6 +40,10 @@ jruby = stdenv.mkDerivation rec {
4040 EOF
4141 '';
4242
43+ postFixup = ''
44+ PATH=$out/bin:$PATH patchShebangs $out/bin
45+ '';
46+
4347 passthru = rec {
4448 rubyEngine = "jruby";
4549 gemPath = "lib/${rubyEngine}/gems/${rubyVersion.libDir}";