Skip to content

Commit

Permalink
zeroad: fix build on aarch64-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank committed Oct 12, 2022
1 parent 37053d4 commit 284adca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions pkgs/games/0ad/game.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ stdenv.mkDerivation rec {
"-I${libXcursor.dev}/include/X11"
"-I${SDL2}/include/SDL2"
"-I${fmt.dev}/include"
"-I${nvidia-texture-tools.dev}/include"
];

NIX_CFLAGS_LINK = toString [
"-L${nvidia-texture-tools.lib}/lib/static"
];

patches = [ ./rootdir_env.patch ];
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34528,7 +34528,7 @@ with pkgs;
keen4 = callPackage ../games/keen4 { };

zeroadPackages = recurseIntoAttrs (callPackage ../games/0ad {
wxGTK = wxGTK31;
wxGTK = wxGTK32;
});

zeroad = zeroadPackages.zeroad;
Expand Down

0 comments on commit 284adca

Please sign in to comment.