cbonsai: fix cross-compilation
This commit is contained in:
parent
6df6003859
commit
ee20f1abe9
1 changed files with 2 additions and 0 deletions
|
@ -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; };
|
||||
|
|
Loading…
Reference in a new issue