Unverified Commit 615d3c49 authored by Maximilian Bosch's avatar Maximilian Bosch Committed by GitHub
Browse files

Merge pull request #258545 from alyssais/prosody-cross

prosody: fix cross
parents ccdb2758 0692b3e5
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
{ 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