mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
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 {
|
||||
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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user