aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/graphics/zbar/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/graphics/zbar/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/graphics/zbar/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/tools/graphics/zbar/default.nix b/nixpkgs/pkgs/tools/graphics/zbar/default.nix
index 6423a84badc..687c4832e47 100644
--- a/nixpkgs/pkgs/tools/graphics/zbar/default.nix
+++ b/nixpkgs/pkgs/tools/graphics/zbar/default.nix
@@ -8,6 +8,7 @@
, qtbase
, qtx11extras
, wrapQtAppsHook
+, wrapGAppsHook
, gtk3
, xmlto
, docbook_xsl
@@ -36,6 +37,7 @@ stdenv.mkDerivation rec {
autoreconfHook
docbook_xsl
wrapQtAppsHook
+ wrapGAppsHook
];
buildInputs = [
@@ -71,7 +73,7 @@ stdenv.mkDerivation rec {
dontWrapGApps = true;
postFixup = lib.optionalString enableVideo ''
- wrapProgram "$out/bin/zbarcam-gtk" "''${gappsWrapperArgs[@]}"
+ wrapGApp "$out/bin/zbarcam-gtk"
wrapQtApp "$out/bin/zbarcam-qt"
'';