Re: xmonad, xmonad-contrib & GHC_PACKAGE_PATH?

2021-04-21 Thread William
Thanks both of you! This works for me: (use-modules (gnu) (gnu packages commencement) (guix profiles)) (use-package-modules haskell haskell-xyz wm gcc) (packages->manifest (list gcc-toolchain ghc ghc-hostname ghc-xmonad-contrib xmonad)) and then xmonad --recompile Just W

Re: xmonad, xmonad-contrib & GHC_PACKAGE_PATH?

2021-04-20 Thread John Soo
Hello, I thought I had opened an issue about this but I must have kept it in my TODOs. The haskell-build-system does not put outputs in the right place for the ghc profile hook. xmonad --recompile should Just Work with any installed haskell-build-system libraries installed via guix. I’ve been m

Re: xmonad, xmonad-contrib & GHC_PACKAGE_PATH?

2021-04-20 Thread Oleg Pykhalov
Hi, William writes: > Do I need to fix a ghc version in my manifest? how do I find out which > ghc xmonad used? If I need other libs (ghc-hostname for example) how > do I specify one that's compiled with the same ghc? All haskell packages use haskell-build-system as a build-system. From guix/b

xmonad, xmonad-contrib & GHC_PACKAGE_PATH?

2021-04-20 Thread William
Hi all! I'm trying to get xmonad to run, here's what I've tried: I created a desktop profile for my user with: (specifications->manifest '("xmonad" "ghc-xmonad-contrib" "ghc-hostname")) I have "source .../desktop/etc/profile" and "exec xmonad" in my .xinitrc and an xmonad config in ~/.xmonad/xmon