Merge pull request #131599 from siraben/cbonsai-cross

cbonsai: fix cross-compilation

authored by Ben Siraphob and committed by GitHub e92eccaa db4dc044

+2
+2
pkgs/games/cbonsai/default.nix
··· 13 14 nativeBuildInputs = [ pkg-config ]; 15 buildInputs = [ ncurses ]; 16 installFlags = [ "PREFIX=$(out)" ]; 17 18 passthru.updateScript = nix-update-script { attrPath = pname; };
··· 13 14 nativeBuildInputs = [ pkg-config ]; 15 buildInputs = [ ncurses ]; 16 + 17 + makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; 18 installFlags = [ "PREFIX=$(out)" ]; 19 20 passthru.updateScript = nix-update-script { attrPath = pname; };