From 73fe0e36f6ad9720d94b161f36fe2dbffcb1c7d8 Mon Sep 17 00:00:00 2001 From: bard Date: Mon, 25 Sep 2023 18:06:54 -0400 Subject: added ghcup and cabal to path --- init.el | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 9eacb8e..e3c6e6b 100644 --- a/init.el +++ b/init.el @@ -10,6 +10,15 @@ (dolist (config-file my-config-files) (load config-file)) +;; GHC Path +(let ((my-ghcup-path (expand-file-name "~/.ghcup/bin"))) + (setenv "PATH" (concat my-ghcup-path ":" (getenv "PATH"))) + (add-to-list 'exec-path my-ghcup-path)) + +(let ((my-cabal-path (expand-file-name "~/.cabal/bin"))) + (setenv "PATH" (concat my-cabal-path ":" (getenv "PATH"))) + (add-to-list 'exec-path my-cabal-path)) + ;; Esc key quit prompts (global-set-key (kbd "") 'keyboard-escape-quit) @@ -107,7 +116,7 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(package-selected-packages - '(haskell-mode clojure-snippets cider clojure-mode mixed-pitch tao-theme gruber-darker vterm yasnippet-snippets which-key vertico use-package toc-org projectile pdf-tools org-roam org-cliplink orderless olivetti multiple-cursors marginalia magit hl-todo expand-region ef-themes dashboard counsel company))) + '(emms gruber-darker-theme haskell-mode clojure-snippets cider clojure-mode mixed-pitch tao-theme gruber-darker vterm yasnippet-snippets which-key vertico use-package toc-org projectile pdf-tools org-roam org-cliplink orderless olivetti multiple-cursors marginalia magit hl-todo expand-region ef-themes dashboard counsel company))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. -- cgit v1.2.3