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:
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 a new issue