Closed neosimsim closed 4 years ago
I currently see two ways to disable the flag manually. Either by running
cabal configure --constraint 'essence-of-live-coding-tutorial -pulse'
or by changing the command in ghicd to
cabal repl -f -pulse
.
I can comment both in the README if you like.
cabal repl -f -pulse
Or maybe
—flag
. As a Unix/POSIX fan I usually keep to single letter option but that’s not the general opinion I guess.
I’d prefer cabal config
The flag is then persisted in cabal.project.local
(which should be ignore).
Changing ghicd
dirties the working git tree.
Or make the flag default true and add a comment in the readme how to turn it off?
Or make the flag default true and add a comment in the readme how to turn it off?
True
is the default default https://cabal.readthedocs.io/en/3.4/cabal-package.html?highlight=flags#pkg-field-flag-default
Ah great! Ok then.
Thanks!
Btw. Someone ran this successfully on a mac and in fact Pulseaudio throws an error there.
I'll update the readme.
Either way, that's very useful.