diff options
author | Pierre Bourdon <delroth@gmail.com> | 2022-12-05 02:55:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-05 02:55:25 +0100 |
commit | f16be356415452ee0eb8221b90dda72b85aaca96 (patch) | |
tree | cc27dcde0de26c05c8e960bd5bd77a1fe3d4142f /pkgs/tools/graphics | |
parent | 9af2d9564b1a1a3c5169f5e3b69826af4e0c128f (diff) | |
parent | de66678a605ee3acb6ab65f9f68fceaab7ed0a5c (diff) |
Merge pull request #204564 from SuperSandro2000/zbar-nox
nixos/no-x-libs: add zbar
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r-- | pkgs/tools/graphics/zbar/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/tools/graphics/zbar/default.nix b/pkgs/tools/graphics/zbar/default.nix index d3c4003741e3e..4e850e4fe6c70 100644 --- a/pkgs/tools/graphics/zbar/default.nix +++ b/pkgs/tools/graphics/zbar/default.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , imagemagickBig , pkg-config +, withXorg ? true , libX11 , libv4l , qtbase @@ -41,16 +42,18 @@ stdenv.mkDerivation rec { xmlto autoreconfHook docbook_xsl - wrapQtAppsHook + ] ++ lib.optionals enableVideo [ wrapGAppsHook + wrapQtAppsHook ]; buildInputs = [ imagemagickBig - libX11 libintl ] ++ lib.optionals enableDbus [ dbus + ] ++ lib.optionals withXorg [ + libX11 ] ++ lib.optionals enableVideo [ libv4l gtk3 |