Remove doom-bootstrap system (will be replaced)

This commit is contained in:
Henrik Lissner 2017-05-20 10:23:22 +02:00
parent 39c3d6aae4
commit ce49f94bbe
9 changed files with 16 additions and 174 deletions

View file

@ -1,21 +1,7 @@
;; -*- no-byte-compile: t; -*-
;;; lang/haskell/packages.el
;; requires haskell cabal-install ghz happy alex
(package! haskell-mode)
(package! dante)
;;
(def-bootstrap! haskell
(pcase (doom-system-os)
('arch
(let ((pkgs (cl-remove-if 'executable-find '("ghc" "happy" "alex"))))
(unless (executable-find "cabal")
(push "cabal-install" pkgs))
(when pkgs
(sudo "pacman --noconfirm -S %s" (s-join " " pkgs)))))
('debian) ;; TODO
('macos
(unless (executable-find "ghc")
(sh "brew install ghc"))
(unless (executable-find "cabal")
(sh "brew install cabal-install")))))