libdivsufsort: fix cross-compilation

Issue before: malloc not found on architecture

Adding cmake fixed this for me.

Signed-off-by: Markus Theil <theil.markus@gmail.com>
This commit is contained in:
Markus Theil 2023-08-01 17:25:52 +02:00
parent ce5e4a6ef2
commit 7d3332ec57

View file

@ -1,4 +1,4 @@
{lib, stdenv, fetchurl}:
{lib, stdenv, fetchurl, cmake}:
stdenv.mkDerivation rec {
pname = "libdivsufsort";
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "1g0q40vb2k689bpasa914yi8sjsmih04017mw20zaqqpxa32rh2m";
};
nativeBuildInputs = [ cmake ];
meta = {
homepage = "https://github.com/y-256/libdivsufsort";
license = lib.licenses.mit;