summary refs log tree commit diff
path: root/pkgs/tools/admin/aws_shell/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/admin/aws_shell/default.nix')
-rw-r--r--pkgs/tools/admin/aws_shell/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/admin/aws_shell/default.nix b/pkgs/tools/admin/aws_shell/default.nix
index 95f1df39576..b9169691808 100644
--- a/pkgs/tools/admin/aws_shell/default.nix
+++ b/pkgs/tools/admin/aws_shell/default.nix
@@ -23,6 +23,11 @@ buildPythonPackage rec {
     pyyaml
   ];
 
+  postPatch = ''
+    substituteInPlace setup.py \
+     --replace "prompt-toolkit>=1.0.0,<1.1.0" "prompt-toolkit"
+  '';
+
   #Checks are failing due to missing TTY, which won't exist.
   doCheck = false;
   preCheck = ''