about summary refs log tree commit diff
path: root/pkgs/applications/misc/opencpn/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/opencpn/default.nix')
-rw-r--r--pkgs/applications/misc/opencpn/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/misc/opencpn/default.nix b/pkgs/applications/misc/opencpn/default.nix
index d6b9b943b6e4..696232c9f8d6 100644
--- a/pkgs/applications/misc/opencpn/default.nix
+++ b/pkgs/applications/misc/opencpn/default.nix
@@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
                   glib portaudio ];
 
   cmakeFlags = [
-    "-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2}/lib/gtk-2.0/include"
-    "-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib}/lib/glib-2.0/include"
+    "-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"
+    "-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
   ];
 
   enableParallelBuilding = true;