diff --git a/dynamic.nix b/dynamic.nix
index 1d48aa1..4942e06 100644
--- a/dynamic.nix
+++ b/dynamic.nix
@@ -128,7 +128,7 @@ pkgs.mkShell {
         )
         ++ attrValues haskell-tools
         ++ optionals withGHCTooling (
-          with pkgs; [ automake autoconf alex happy ]
+          with pkgs; [ python3 automake autoconf alex happy ]
         )
       );