aws: hardcode perl location
This commit is contained in:
parent
8e97e38677
commit
77817b7638
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, perl }:
|
{ stdenv, fetchurl, perl, curl }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "aws-1.75";
|
name = "aws-1.75";
|
||||||
@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
|||||||
installPhase =
|
installPhase =
|
||||||
''
|
''
|
||||||
mkdir -p $out/bin
|
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
|
chmod +x $out/bin/aws
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user