Add home-configuration/kisshot/haskell-packages.scm
parent
4d0e40d051
commit
5694058990
|
@ -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)
|
Loading…
Reference in New Issue