diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-10-02 07:06:11 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-10-02 08:24:37 +0000 |
commit | 0692b3e52a7af1d9029562377a7b7fd5d6a8044a (patch) | |
tree | ad3034b17d3f2d40758a628539ec5723644f9066 /pkgs/servers/xmpp | |
parent | f902cb49892d300ff15cb237e48aa1cad79d68c3 (diff) |
prosody: fix cross
Diffstat (limited to 'pkgs/servers/xmpp')
-rw-r--r-- | pkgs/servers/xmpp/prosody/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/servers/xmpp/prosody/default.nix b/pkgs/servers/xmpp/prosody/default.nix index 64ac2e8699ad1..bb8b68c17ddf7 100644 --- a/pkgs/servers/xmpp/prosody/default.nix +++ b/pkgs/servers/xmpp/prosody/default.nix @@ -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 |