* Fix the path to bash.
* Add openssl as a dependency. svn path=/nixpkgs/trunk/; revision=19436
This commit is contained in:
parent
3f30914672
commit
c63858a169
@ -1,8 +1,10 @@
|
||||
{stdenv, fetchurl, unzip, ruby, makeWrapper}:
|
||||
{ stdenv, fetchurl, unzip, ruby, openssl, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ec2-ami-tools";
|
||||
|
||||
buildInputs = [unzip makeWrapper];
|
||||
|
||||
src = fetchurl {
|
||||
url = http://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.zip;
|
||||
sha256 = "2a7c848abea286234adcbb08938cfad50b844ecdfc7770e781289d9d396a1972";
|
||||
@ -17,10 +19,10 @@ stdenv.mkDerivation {
|
||||
for i in $out/bin/*; do
|
||||
wrapProgram $i \
|
||||
--set EC2_HOME $out \
|
||||
--set PATH '$PATH:${ruby}/bin'
|
||||
--prefix PATH : ${ruby}/bin:${openssl}/bin
|
||||
done
|
||||
|
||||
sed -i 's|/bin/bash|${stdenv.shell}/bin/bash|' $out/lib/ec2/platform/base/pipeline.rb
|
||||
sed -i 's|/bin/bash|${stdenv.shell}|' $out/lib/ec2/platform/base/pipeline.rb
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
@ -334,7 +334,7 @@ let
|
||||
};
|
||||
|
||||
ec2amitools = import ../tools/virtualization/amazon-ec2-ami-tools {
|
||||
inherit stdenv fetchurl unzip makeWrapper ruby;
|
||||
inherit stdenv fetchurl unzip makeWrapper ruby openssl;
|
||||
};
|
||||
|
||||
amule = import ../tools/networking/p2p/amule {
|
||||
|
Loading…
Reference in New Issue
Block a user