about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-12-19 04:04:06 +0100
committerGitHub <noreply@github.com>2023-12-19 04:04:06 +0100
commita81de6fad42c5b4b615070a715ea92009d2b252c (patch)
tree76a75a7e5ad58685afd99c3cda1b1f63dcac2351 /pkgs/games
parentdb41f0d3eb9f0a683195fd011f1283b4172fae10 (diff)
parentaf559e0e3ce002b2005009e933af97c5a9fb11d2 (diff)
Merge pull request #273455 from aidalgol/r2modman-electron-update
r2modman: update electron version
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/r2modman/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/games/r2modman/default.nix b/pkgs/games/r2modman/default.nix
index 72e3027be6b3e..b330b92305a51 100644
--- a/pkgs/games/r2modman/default.nix
+++ b/pkgs/games/r2modman/default.nix
@@ -83,7 +83,7 @@ stdenv.mkDerivation rec {
       done
     )
 
-    makeWrapper '${electron}/bin/electron' "$out/bin/r2modman" \
+    makeWrapper '${lib.getExe electron}' "$out/bin/r2modman" \
       --inherit-argv0 \
       --add-flags "$out/share/r2modman" \
       --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
@@ -114,5 +114,6 @@ stdenv.mkDerivation rec {
     license = licenses.mit;
     maintainers = with maintainers; [ aidalgol huantian ];
     inherit (electron.meta) platforms;
+    mainProgram = pname;
   };
 }