I tried pkgs.nvidia-texture-tools
but the it did not work. I dont have any gpu I need nvtt to build 0ad. I was using a shell.nix to add packages and dependencies. I am attaching that here.
{pkgs ? import <nixpkgs> {}}:
pkgs.mkShell {
name = "0ad-env";
buildInputs = [
pkgs.gcc11
pkgs.llvmPackages_20.bintools
pkgs.cmake
pkgs.pkg-config
pkgs.subversion
pkgs.python3
pkgs.boost
pkgs.cargo
pkgs.rustup
pkgs.curl
pkgs.wxGTK32
pkgs.xorg.libX11
pkgs.freetype
pkgs.libuuid
pkgs.enet
pkgs.fmt
pkgs.gloox
pkgs.icu
pkgs.libogg
pkgs.libpng
pkgs.libsodium
pkgs.libvorbis
pkgs.libxml2
pkgs.miniupnpc
pkgs.openal
pkgs.libGL
pkgs.SDL2
pkgs.zlib
pkgs.libidn
pkgs.spidermonkey_115
pkgs.nvidia-texture-tools
];
shellHook = ''
zsh
export WX_CONFIG=${pkgs.wxGTK32}/bin/wx-config
'';
}
Please help me.