prosody: fix cross

This commit is contained in:
Alyssa Ross 2023-10-02 07:06:11 +00:00
parent f902cb4989
commit 0692b3e52a
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, lib, libidn, openssl, makeWrapper, fetchhg
{ stdenv, fetchurl, lib, libidn, openssl, makeWrapper, fetchhg, buildPackages
, icu
, lua
, nixosTests
@ -54,9 +54,13 @@ stdenv.mkDerivation rec {
configureFlags = [
"--ostype=linux"
"--with-lua-bin=${lib.getBin buildPackages.lua}/bin"
"--with-lua-include=${luaEnv}/include"
"--with-lua=${luaEnv}"
"--c-compiler=${stdenv.cc.targetPrefix}cc"
"--linker=${stdenv.cc.targetPrefix}cc"
];
configurePlatforms = [];
postBuild = ''
make -C tools/migration