3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request 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
commit 7011d448ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}";