lang/haskell: fix bootstrap

This commit is contained in:
Henrik Lissner 2017-03-28 16:27:13 -04:00
parent b73218c88e
commit 846fc112ff

View file

@ -11,7 +11,8 @@
(let ((pkgs (cl-remove-if 'executable-find '("ghc" "happy" "alex"))))
(unless (executable-find "cabal")
(push "cabal-install" pkgs))
(sudo "pacman --noconfirm -S ghc cabal-install happy alex" (s-join " " pkgs))))
(when pkgs
(sudo "pacman --noconfirm -S %s" (s-join " " pkgs)))))
('debian) ;; TODO
('macos
(unless (executable-find "ghc")