about summary refs log tree commit diff
path: root/pkgs/development/tools/wails/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/wails/default.nix')
-rw-r--r--pkgs/development/tools/wails/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/tools/wails/default.nix b/pkgs/development/tools/wails/default.nix
index 8988424d7738..b024d5fe710c 100644
--- a/pkgs/development/tools/wails/default.nix
+++ b/pkgs/development/tools/wails/default.nix
@@ -9,7 +9,7 @@
 , zlib
   # Linux specific dependencies
 , gtk3
-, webkitgtk
+, webkitgtk_4_0
 }:
 
 buildGoModule rec {
@@ -46,9 +46,9 @@ buildGoModule rec {
     go
     stdenv.cc
     nodejs
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     gtk3
-    webkitgtk
+    webkitgtk_4_0
   ];
 
   ldflags = [
@@ -60,7 +60,7 @@ buildGoModule rec {
   postFixup = ''
     wrapProgram $out/bin/wails \
       --prefix PATH : ${lib.makeBinPath [ pkg-config go stdenv.cc nodejs ]} \
-      --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath (lib.optionals stdenv.isLinux [ gtk3 webkitgtk ])}" \
+      --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath (lib.optionals stdenv.hostPlatform.isLinux [ gtk3 webkitgtk_4_0 ])}" \
       --set PKG_CONFIG_PATH "$PKG_CONFIG_PATH" \
       --set CGO_LDFLAGS "-L${lib.makeLibraryPath [ zlib ]}"
   '';
@@ -69,7 +69,7 @@ buildGoModule rec {
     description = "Build applications using Go + HTML + CSS + JS";
     homepage = "https://wails.io";
     license = lib.licenses.mit;
-    maintainers = with lib.maintainers; [ ianmjones ];
+    maintainers = with lib.maintainers; [ ];
     mainProgram = "wails";
     platforms = lib.platforms.unix;
   };