27 lines
677 B
Scheme
27 lines
677 B
Scheme
(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)
|