3
0
Fork 0
forked from mirrors/nixpkgs

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 let
self = stdenv.mkDerivation rec { self = stdenv.mkDerivation rec {
@ -17,7 +17,7 @@ let
nativeBuildInputs = [ pkg-config swig perl ] nativeBuildInputs = [ pkg-config swig perl ]
++ lib.optional stdenv.isDarwin gcc; ++ lib.optional stdenv.isDarwin gcc;
buildInputs = [ getopt lua boost ]; buildInputs = [ getopt lua boost libxcrypt ];
postPatch = '' postPatch = ''
substituteInPlace src/makefile \ substituteInPlace src/makefile \