forked from mirrors/nixpkgs
Merge pull request #98693 from fzakaria/jruby-shebang-fix
Fix shebang for binaries in JRuby
This commit is contained in:
commit
7011d448ec
1 changed files with 4 additions and 0 deletions
|
@ -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}";
|
||||
|
|
Loading…
Add table
Reference in a new issue