zeroad: fix build on aarch64-linux

This commit is contained in:
Weijia Wang 2022-10-12 20:02:26 +02:00
parent 37053d45f9
commit 284adcab1f
2 changed files with 6 additions and 1 deletions

View file

@ -48,6 +48,11 @@ stdenv.mkDerivation rec {
"-I${libXcursor.dev}/include/X11" "-I${libXcursor.dev}/include/X11"
"-I${SDL2}/include/SDL2" "-I${SDL2}/include/SDL2"
"-I${fmt.dev}/include" "-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 ]; patches = [ ./rootdir_env.patch ];

View file

@ -34528,7 +34528,7 @@ with pkgs;
keen4 = callPackage ../games/keen4 { }; keen4 = callPackage ../games/keen4 { };
zeroadPackages = recurseIntoAttrs (callPackage ../games/0ad { zeroadPackages = recurseIntoAttrs (callPackage ../games/0ad {
wxGTK = wxGTK31; wxGTK = wxGTK32;
}); });
zeroad = zeroadPackages.zeroad; zeroad = zeroadPackages.zeroad;