From 94df35da1fdfd9ded4c902e7be595df674fb1b72 Mon Sep 17 00:00:00 2001 From: Jan Malakhovski Date: Tue, 24 Mar 2015 22:54:31 +0000 Subject: [PATCH] emacs: ghc-mod: add the binary to user environment This is the correct way to do it, because users will expect to see the same ghc-mod both in emacs and in shell. --- pkgs/top-level/emacs-packages.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/top-level/emacs-packages.nix b/pkgs/top-level/emacs-packages.nix index a5a087e16add..4b23992d12a1 100644 --- a/pkgs/top-level/emacs-packages.nix +++ b/pkgs/top-level/emacs-packages.nix @@ -454,6 +454,7 @@ let self = _self // overrides; pname = "ghc"; version = external.ghc-mod.version; src = external.ghc-mod.src; + propagatedUserEnvPkgs = [ external.ghc-mod ]; fileSpecs = [ "elisp/*.el" ]; meta = { license = bsd3; }; };