about summary refs log tree commit diff
path: root/pkgs/applications/misc/pdfpc/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/pdfpc/default.nix')
-rw-r--r--pkgs/applications/misc/pdfpc/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/misc/pdfpc/default.nix b/pkgs/applications/misc/pdfpc/default.nix
index 2b6e7a0ed88c..f7fa1223a34c 100644
--- a/pkgs/applications/misc/pdfpc/default.nix
+++ b/pkgs/applications/misc/pdfpc/default.nix
@@ -1,6 +1,6 @@
 { lib, stdenv, fetchFromGitHub, cmake, pkg-config, vala, gtk3, libgee
 , poppler, libpthreadstubs, gstreamer, gst-plugins-base, gst-plugins-good, gst-libav, gobject-introspection, wrapGAppsHook3
-, qrencode, webkitgtk, discount, json-glib, fetchpatch }:
+, qrencode, webkitgtk_4_0, discount, json-glib, fetchpatch }:
 
 stdenv.mkDerivation rec {
   pname = "pdfpc";
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
     (gst-plugins-good.override { gtkSupport = true; })
     gst-libav
     qrencode
-    webkitgtk
+    webkitgtk_4_0
     discount
     json-glib
   ];
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
     })
   ];
 
-  cmakeFlags = lib.optional stdenv.isDarwin (lib.cmakeBool "MOVIES" false);
+  cmakeFlags = lib.optional stdenv.hostPlatform.isDarwin (lib.cmakeBool "MOVIES" false);
 
   meta = with lib; {
     description = "Presenter console with multi-monitor support for PDF files";