about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/gns3/server.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/gns3/server.nix')
-rw-r--r--nixpkgs/pkgs/applications/networking/gns3/server.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/networking/gns3/server.nix b/nixpkgs/pkgs/applications/networking/gns3/server.nix
index 556d341231f6..dcad3027e96b 100644
--- a/nixpkgs/pkgs/applications/networking/gns3/server.nix
+++ b/nixpkgs/pkgs/applications/networking/gns3/server.nix
@@ -47,6 +47,8 @@ in python.pkgs.buildPythonPackage {
   postPatch = ''
     # "typing" is only required for Python 3.4 and breaks Python 3.7:
     sed -iE "s/.*typing.*//" requirements.txt
+    # Only 2.x is problematic:
+    sed -iE "s/prompt-toolkit==1.0.15/prompt-toolkit<2.0.0/" requirements.txt
   '';
 
   propagatedBuildInputs = with python.pkgs; [