forked from mirrors/nixpkgs
highlight: fix cross-compilation
This commit is contained in:
parent
8a1c058e42
commit
0ded4086d4
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue