summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2016-09-26 08:41:04 +0200
committerPeter Simons <simons@cryp.to>2016-09-26 08:43:23 +0200
commit0d38ff9d37836a6c623b4280bd7b8c84b28c8d30 (patch)
tree1cff0ea927ba0bf2832c6c60c9537691baa1cf62 /pkgs
parent24b64aab0f56c930d62f5c6313013253e6bebef5 (diff)
downloadnixlib-0d38ff9d37836a6c623b4280bd7b8c84b28c8d30.tar
nixlib-0d38ff9d37836a6c623b4280bd7b8c84b28c8d30.tar.gz
nixlib-0d38ff9d37836a6c623b4280bd7b8c84b28c8d30.tar.bz2
nixlib-0d38ff9d37836a6c623b4280bd7b8c84b28c8d30.tar.lz
nixlib-0d38ff9d37836a6c623b4280bd7b8c84b28c8d30.tar.xz
nixlib-0d38ff9d37836a6c623b4280bd7b8c84b28c8d30.tar.zst
nixlib-0d38ff9d37836a6c623b4280bd7b8c84b28c8d30.zip
structured-haskell-mode: cosmetic
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix5
1 files changed, 3 insertions, 2 deletions
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