mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Now msfweb works with user-installed Ruby on rails.
svn path=/nixpkgs/trunk/; revision=11567
This commit is contained in:
parent
b40945afba
commit
a082b5df68
1 changed files with 3 additions and 4 deletions
|
@ -13,12 +13,11 @@ rec {
|
|||
ensureDir $out/bin
|
||||
|
||||
cp -r * $out/share/msf
|
||||
ln -s $out/share/msf/msf* $out/bin
|
||||
|
||||
sed -e 's@#!/usr/bin/env ruby@#! ${ruby}/bin/ruby@' -i $out/bin/msf*
|
||||
sed -e 's@#!/usr/bin/env ruby@#! ${ruby}/bin/ruby@' -i $out/share/msf/msf*
|
||||
|
||||
for i in $out/bin/*; do
|
||||
wrapProgram $i --prefix RUBYLIB : $out/share/msf/lib
|
||||
for i in $out/share/msf/msf*; do
|
||||
makeWrapper $i $out/bin/$(basename $i) --prefix RUBYLIB : $out/share/msf/lib
|
||||
done
|
||||
'') ["minInit" "defEnsureDir" "doUnpack" "addInputs"];
|
||||
|
||||
|
|
Loading…
Reference in a new issue