mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
profanity: explicit feature flags so build fails when libs are missing
When the feature flags during configuration are not set explicitly the build will continue even when needed libs are missing, disabling the feature. To get notified of problems, we set the feature flags explicitly.
This commit is contained in:
parent
7a82f81b84
commit
e4cf6635ab
@ -38,6 +38,13 @@ stdenv.mkDerivation rec {
|
||||
++ optionals pgpSupport [ gpgme ]
|
||||
++ optionals pythonPluginSupport [ python ];
|
||||
|
||||
# Enable feature flags, so that build fail if libs are missing
|
||||
configureFlags = [ "--enable-c-plugins" "--enable-otr" ]
|
||||
++ optionals notifySupport [ "--enable-notifications" ]
|
||||
++ optionals traySupport [ "--enable-icons" ]
|
||||
++ optionals pgpSupport [ "--enable-pgp" ]
|
||||
++ optionals pythonPluginSupport [ "--enable-python-plugins" ];
|
||||
|
||||
meta = {
|
||||
description = "A console based XMPP client";
|
||||
longDescription = ''
|
||||
|
Loading…
Reference in New Issue
Block a user