Merge pull request #98693 from fzakaria/jruby-shebang-fix

Fix shebang for binaries in JRuby
This commit is contained in:
Jörg Thalheim
2020-09-25 10:05:05 +02:00
committed by GitHub

View File

@@ -40,6 +40,10 @@ jruby = stdenv.mkDerivation rec {
EOF
'';
postFixup = ''
PATH=$out/bin:$PATH patchShebangs $out/bin
'';
passthru = rec {
rubyEngine = "jruby";
gemPath = "lib/${rubyEngine}/gems/${rubyVersion.libDir}";