|
|
|
@ -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 |
|
|
|
|