1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

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
'';