Skip to content

v2-install does not apply flags to build #6472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Rufflewind opened this issue Jan 1, 2020 · 0 comments
Open

v2-install does not apply flags to build #6472

Rufflewind opened this issue Jan 1, 2020 · 0 comments

Comments

@Rufflewind
Copy link
Member

Describe the bug

v2-install does not apply flags (-fXXX) to the build.

To Reproduce
Steps to reproduce the behavior:

$ cabal v2-install -fwith_xft xmobar
...
$ ~/.cabal/bin/xmobar                                          
Warning: Xmobar must be built with the with_xft flag to support font 'xft:Oxygen Mono:size=10,DejaVu Sans Mono:size=10.' Falling back on default.

My xmobar config is: https://github.com/Rufflewind/config/blob/0e071d057236e7e839a44c86ffed6068b28927de/home/.config/xmobar/xmobarrc

Expected behavior

xmobar should be built with_xft enabled, so the warning isn't supposed to appear.

System information

  • Operating system: Linux 5.4.6-arch3-1 #1 SMP PREEMPT Tue, 24 Dec 2019 04:36:53 +0000 x86_64 GNU/Linux
  • cabal-install version 2.4.0.0, compiled using version 2.4.0.1 of the Cabal library
  • ghc 8.6.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants