From ee20f1abe983e6d594856c2706c265676fa627e3 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Tue, 27 Jul 2021 01:08:58 +0700 Subject: cbonsai: fix cross-compilation --- pkgs/games/cbonsai/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/games') diff --git a/pkgs/games/cbonsai/default.nix b/pkgs/games/cbonsai/default.nix index 98b55729f0e..0425f4f56b3 100644 --- a/pkgs/games/cbonsai/default.nix +++ b/pkgs/games/cbonsai/default.nix @@ -13,6 +13,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config ]; buildInputs = [ ncurses ]; + + makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; installFlags = [ "PREFIX=$(out)" ]; passthru.updateScript = nix-update-script { attrPath = pname; }; -- cgit 1.4.1