Cabal not installing dependencies when needing profiling libraries?

后端 未结 5 654
暖寄归人
暖寄归人 2020-11-28 06:02

I want to compile my program with profiling, so I run:

$ cabal configure --enable-executable-profiling
...
$ cabal build
...
    Could not find module \'Grap         


        
5条回答
  •  生来不讨喜
    2020-11-28 06:16

    I've enabled library-profiling: True in my ~/.cabal/config file. From then on, any new installations will automatically enable profiling.

    Unfortunately that still means I had to manually reinstall for the old packages already installed. Although, after a while of doing this manually, I now have most packages reinstalled with profiling enabled...

提交回复
热议问题