Merge pull request #258545 from alyssais/prosody-cross

prosody: fix cross
This commit is contained in:
Maximilian Bosch 2023-10-02 17:29:12 +02:00 committed by GitHub
commit 615d3c49dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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