Date: Tue, 27 Aug 2019 22:28:12 -0700 From: Kevin Zheng <kevinz5000@gmail.com> To: haskell@FreeBSD.org Subject: xmonad --recompile is broken with cabal change Message-ID: <e8be5189-4333-eaea-2e5d-16090c65d7ab@gmail.com>
next in thread | raw e-mail | index | archive | help
Hi there, Sometime between a while ago and now (probably around the time of some cabal changes), `xmonad --recompile` stopped working: xmonad.hs:1:1: error: Could not find module ‘XMonad’ This is because the XMonad files are being installed to /usr/local/lib/cabal/ghc-8.6.5 instead of the usual /usr/local/lib/ghc-8.6.5. Now, xmonad does provide a register.sh, but this needs to be run on all the dependencies in order to correctly register with ghc-pkg. Is it reasonable to update the ports infrastructure to run ghc-pkg registration on all installed cabal packages? (Please CC me as I'm not on the list in your reply.) Thanks, Kevin -- Kevin Zheng kevinz5000@gmail.com | kevinz@berkeley.edu XMPP: kevinz@eecs.berkeley.edu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e8be5189-4333-eaea-2e5d-16090c65d7ab>