···3030;;; Code:
31313232(defconst custom-haskell-packages
3333- '()
3434- "The list of Lisp packages required by the custom-haskell layer.
3535-3636-Each entry is either:
3737-3838-1. A symbol, which is interpreted as a package to be installed, or
3939-4040-2. A list of the form (PACKAGE KEYS...), where PACKAGE is the
4141- name of the package to be installed or loaded, and KEYS are
4242- any number of keyword-value-pairs.
4343-4444- The following keys are accepted:
4545-4646- - :excluded (t or nil): Prevent the package from being loaded
4747- if value is non-nil
4848-4949- - :location: Specify a custom installation location.
5050- The following values are legal:
5151-5252- - The symbol `elpa' (default) means PACKAGE will be
5353- installed using the Emacs package manager.
5454-5555- - The symbol `local' directs Spacemacs to load the file at
5656- `./local/PACKAGE/PACKAGE.el'
5757-5858- - A list beginning with the symbol `recipe' is a melpa
5959- recipe. See: https://github.com/milkypostman/melpa#recipe-format")
6060-6161-6262-;;; packages.el ends here
6363-6464-(defconst custom-haskell-packages
6533 '(haskell
6634 dante
6767- nix-sandbox))
3535+ nix-sandbox
3636+ ))
68376938(defun custom-haskell/post-init-haskell ()
7039 (add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
···8251 (setq haskell-process-wrapper-function
8352 (lambda (args) (apply 'nix-shell-command (nix-current-sandbox) args)))
8453 )
5454+5555+;; (defun custom-haskell/init-lsp-haskell ()
5656+;; (use-package lsp-haskell
5757+;; :defer t)
5858+;; )
5959+6060+;; (defun custom-haskell/post-init-lsp-haskell ()
6161+;; (setq lsp-haskell-process-path-hie "hie-wrapper")
6262+;; (add-hook 'haskell-mode-hook #'lsp)
6363+;; )