mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 09:34:36 +00:00
zbar: disable Qt assertions
Greatly decreases zbar-lib transitive closure size: assertion messages contain paths to Qt header files, causing zbar-lib to depend on qtbase-dev. The Qt specific mkDerivation normally does this automatically, but we can't use it here due to having only a small part of the project being Qt related.
This commit is contained in:
parent
4445971025
commit
18b607b71b
@ -50,6 +50,9 @@ stdenv.mkDerivation rec {
|
||||
qtx11extras
|
||||
];
|
||||
|
||||
# Disable assertions which include -dev QtBase file paths.
|
||||
NIX_CFLAGS_COMPILE = [ "-DQT_NO_DEBUG" ];
|
||||
|
||||
configureFlags = [
|
||||
"--without-python"
|
||||
] ++ (if enableDbus then [
|
||||
|
Loading…
Reference in New Issue
Block a user