summary refs log tree commit diff
path: root/pkgs/applications/office/cb2bib
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2022-11-26 16:15:36 +0300
committerRick van Schijndel <Mindavi@users.noreply.github.com>2022-11-27 19:56:00 +0100
commit1be86c6823806d14c8aadbd3cdaf64ac2eef0f6b (patch)
tree9f553e902306dc19f5c6b74768637430f4b5bac5 /pkgs/applications/office/cb2bib
parent4c8fc6747cd296ed85f85a88ddbcc9c593f33cdb (diff)
cb2bib: wrap correctly
Diffstat (limited to 'pkgs/applications/office/cb2bib')
-rw-r--r--pkgs/applications/office/cb2bib/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/applications/office/cb2bib/default.nix b/pkgs/applications/office/cb2bib/default.nix
index b0a0fded80aeb..331e6a7c3a264 100644
--- a/pkgs/applications/office/cb2bib/default.nix
+++ b/pkgs/applications/office/cb2bib/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl, qmake, qtbase, qtwebkit, qtx11extras, lzo, libX11 }:
+{ lib, stdenv, fetchurl, qmake, qtbase, qtwebkit, qtx11extras, lzo, libX11, wrapQtAppsHook }:
 
 stdenv.mkDerivation rec {
   pname = "cb2bib";
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
     sha256 = "0gv7cnxi84lr6d5y71pd67h0ilmf5c88j1jxgyn9dvj19smrv99h";
   };
   buildInputs = [ qtbase qtwebkit qtx11extras lzo libX11 ];
-  nativeBuildInputs = [ qmake ];
+  nativeBuildInputs = [ qmake wrapQtAppsHook ];
 
   configurePhase = ''
     runHook preConfigure
@@ -16,8 +16,6 @@ stdenv.mkDerivation rec {
     runHook postConfigure
   '';
 
-  dontWrapQtApps = true;
-
   meta = with lib; {
     description = "Rapidly extract unformatted, or unstandardized bibliographic references from email alerts, journal Web pages and PDF files";
     homepage = "http://www.molspaces.com/d_cb2bib-overview.php";