diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5bb5c818378..5d5b7771d42 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11287,6 +11287,7 @@ let external = { inherit (haskellPackages) ghc-mod structured-haskell-mode Agda; + inherit (pythonPackages) elpy; }; }; diff --git a/pkgs/top-level/emacs-packages.nix b/pkgs/top-level/emacs-packages.nix index 360096aa1ff..d331850b504 100644 --- a/pkgs/top-level/emacs-packages.nix +++ b/pkgs/top-level/emacs-packages.nix @@ -442,7 +442,7 @@ let self = _self // overrides; elpy = melpaBuild rec { pname = "elpy"; - version = "1.9.0"; + version = external.elpy.version; src = fetchFromGitHub { owner = "jorgenschaefer"; repo = pname; @@ -465,6 +465,8 @@ let self = _self // overrides; company find-file-in-project highlight-indentation pyvenv yasnippet ]; + propagatedUserEnvPkgs = [ external.elpy ] ++ packageRequires; + meta = { description = "Emacs Python Development Environment"; longDescription = ''