diff --git a/pkgs/development/libraries/poppler/default.nix b/pkgs/development/libraries/poppler/default.nix index 61303b57f1cc..2807b2988560 100644 --- a/pkgs/development/libraries/poppler/default.nix +++ b/pkgs/development/libraries/poppler/default.nix @@ -65,6 +65,7 @@ in rec { poppler_qt4 = poppler_drv "qt4" { propagatedBuildInputs = [ qt4 poppler_glib ]; patches = qtcairo_patches; + NIX_LDFLAGS = "-lpoppler"; postConfigure = "cd qt4"; }; }