highlight: fix cross-compilation

This commit is contained in:
Majiir Paktu 2022-12-31 11:31:47 -05:00
parent 8a1c058e42
commit 0ded4086d4

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitLab, getopt, lua, boost, pkg-config, swig, perl, gcc }:
{ lib, stdenv, fetchFromGitLab, getopt, lua, boost, libxcrypt, pkg-config, swig, perl, gcc }:
let
self = stdenv.mkDerivation rec {
@ -17,7 +17,7 @@ let
nativeBuildInputs = [ pkg-config swig perl ]
++ lib.optional stdenv.isDarwin gcc;
buildInputs = [ getopt lua boost ];
buildInputs = [ getopt lua boost libxcrypt ];
postPatch = ''
substituteInPlace src/makefile \