prosody: fix cross
This commit is contained in:
parent
f902cb4989
commit
0692b3e52a
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, lib, libidn, openssl, makeWrapper, fetchhg
|
{ stdenv, fetchurl, lib, libidn, openssl, makeWrapper, fetchhg, buildPackages
|
||||||
, icu
|
, icu
|
||||||
, lua
|
, lua
|
||||||
, nixosTests
|
, nixosTests
|
||||||
|
@ -54,9 +54,13 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--ostype=linux"
|
"--ostype=linux"
|
||||||
|
"--with-lua-bin=${lib.getBin buildPackages.lua}/bin"
|
||||||
"--with-lua-include=${luaEnv}/include"
|
"--with-lua-include=${luaEnv}/include"
|
||||||
"--with-lua=${luaEnv}"
|
"--with-lua=${luaEnv}"
|
||||||
|
"--c-compiler=${stdenv.cc.targetPrefix}cc"
|
||||||
|
"--linker=${stdenv.cc.targetPrefix}cc"
|
||||||
];
|
];
|
||||||
|
configurePlatforms = [];
|
||||||
|
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
make -C tools/migration
|
make -C tools/migration
|
||||||
|
|
Loading…
Reference in a new issue