Remove doom-bootstrap system (will be replaced)
This commit is contained in:
parent
39c3d6aae4
commit
ce49f94bbe
9 changed files with 16 additions and 174 deletions
|
@ -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")))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue