From 846fc112ffe291b3027e5f63b8374d150f036fd8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 28 Mar 2017 16:27:13 -0400 Subject: [PATCH] lang/haskell: fix bootstrap --- modules/lang/haskell/packages.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/lang/haskell/packages.el b/modules/lang/haskell/packages.el index 6324f37ac..564b0f7d8 100644 --- a/modules/lang/haskell/packages.el +++ b/modules/lang/haskell/packages.el @@ -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")