diff --git a/home-configuration/kisshot/haskell-packages.scm b/home-configuration/kisshot/haskell-packages.scm new file mode 100644 index 0000000..88d3e7b --- /dev/null +++ b/home-configuration/kisshot/haskell-packages.scm @@ -0,0 +1,26 @@ +(define-module (kisshot haskell-packages) + #:export (haskell-packages-list)) + +;; global variable to be acessed by external means +(define haskell-packages-list '()) + +;; almost any haskell package has ghc- in front of it +(define-syntax haskell-packages + (syntax-rules () + ((_ names ...) + (begin + (set! haskell-packages-list + (list (string-append "ghc-" (symbol->string 'names)) ...)))))) + + +;; Call the macro here to define haskell-packages-list +(haskell-packages gi-gdk + gi-gtk + gi-gobject + ;;gi-gtksource + ;;gi-gtk-hs needs fixing in the channel + haskell-gi + haskell-gi-base + haskell-gi-overloading + async + xmonad-contrib)