From 0d38ff9d37836a6c623b4280bd7b8c84b28c8d30 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 26 Sep 2016 08:41:04 +0200 Subject: structured-haskell-mode: cosmetic --- pkgs/development/haskell-modules/configuration-common.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pkgs') diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 073643bccb88..887c4d21cf85 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -779,8 +779,9 @@ self: super: { # Statically linked Haskell libraries make the tool start-up much faster, # which is important for use in Emacs. enableSharedExecutables = false; - # Byte-compile elisp code for Emacs. - executableToolDepends = drv.executableToolDepends or [] ++ [pkgs.emacs]; + # Make elisp files available at a location where people expect it. We + # cannot easily byte-compile these files, unfortunately, because they + # depend on a new version of haskell-mode that we don't have yet. postInstall = '' local lispdir=( "$out/share/"*"-${self.ghc.name}/${drv.pname}-"*"/elisp" ) mkdir -p $out/share/emacs -- cgit 1.4.1