Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
Mephist0phel3s committed Jan 9, 2025
1 parent ba2e3a6 commit 3701947
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkgs/games/WarThunder/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, patchelf, makeWrapper, writeShellApplication, makeDesktopItem, gtk3, glib, xorg, remarkable2-toolchain, bash, autoPatchelfHook }:
{ stdenv, lib, fetchurl, patchelf, makeWrapper, writeShellApplication, makeDesktopItem, gtk3, glib, xorg, remarkable2-toolchain, bash, autoPatchelfHook, copyDesktopItem }:

let
acesx86_64 = writeShellApplication {
Expand Down Expand Up @@ -74,6 +74,7 @@ stdenv.mkDerivation rec {
unpackPhase = false;
dontConfigure = true;
dontBuild = true;
nativeBuildInputs = [ copyDesktopItem ];
buildInputs = [ autoPatchelfHook stdenv.cc.cc stdenv.cc.cc.lib remarkable2-toolchain glib gtk3 xorg.libX11 xorg.libXrandr ];

# patchPhase = let
Expand Down Expand Up @@ -138,15 +139,15 @@ libPath = lib.makeLibraryPath [ autoPatchelfHook stdenv.cc.cc stdenv.cc.cc.lib r
install -m755 -D launcher $out/bin
install -m755 -D gaijin_selfupdater "$out/bin"
install -m755 -D bpreport "$out/bin"
echo "INFO: Done."
echo "INFO: Done"
runHook postInstall
'';


desktopItem = makeDesktopItem {
name = "War-Thunder";
exec = "${acesx86_64}/bin/acesx86_64";
exec = "acesx86_64";
icon = "launcher";
desktopName = "War Thunder";
genericName = "War Thunder";
Expand Down

0 comments on commit 3701947

Please sign in to comment.