mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
* Many buildr Buildfiles rely on RUBYLIB containing the current directory
(as was the default in Ruby < 1.9.2). So make sure that's the case when running buildr. svn path=/nixpkgs/trunk/; revision=32573
This commit is contained in:
parent
91e3d54b8f
commit
a488f53a54
|
@ -31,7 +31,8 @@ let
|
|||
wrapProgram "$prog" \
|
||||
--prefix GEM_PATH : "$GEM_PATH" \
|
||||
--prefix RUBYLIB : "${rubygems}/lib" \
|
||||
--set RUBYOPT 'rubygems'
|
||||
--set RUBYOPT rubygems \
|
||||
$extraWrapperFlags ''${extraWrapperFlagsArray[@]}
|
||||
done
|
||||
|
||||
for prog in $out/gems/*/bin/*; do
|
||||
|
|
|
@ -61,4 +61,11 @@ in
|
|||
buildInputs = [ jdk ];
|
||||
JAVA_HOME = jdk;
|
||||
};
|
||||
|
||||
buildr = {
|
||||
# Many Buildfiles rely on RUBYLIB containing the current directory
|
||||
# (as was the default in Ruby < 1.9.2).
|
||||
extraWrapperFlags = "--prefix RUBYLIB : .";
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue