aws: hardcode perl location

This commit is contained in:
Shea Levy 2014-02-12 08:27:08 -05:00
parent 8e97e38677
commit 77817b7638

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl }:
{ stdenv, fetchurl, perl, curl }:
stdenv.mkDerivation {
name = "aws-1.75";
@ -15,7 +15,7 @@ stdenv.mkDerivation {
installPhase =
''
mkdir -p $out/bin
cp $src $out/bin/aws
sed 's|\[curl|[${curl}/bin/curl|g' $src > $out/bin/aws
chmod +x $out/bin/aws
'';