From 0ded4086d46062f6990644b393d0ba92e344f48a Mon Sep 17 00:00:00 2001 From: Majiir Paktu Date: Sat, 31 Dec 2022 11:31:47 -0500 Subject: [PATCH] highlight: fix cross-compilation --- pkgs/tools/text/highlight/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/highlight/default.nix b/pkgs/tools/text/highlight/default.nix index 3d6a97920ca7..89d0dd296e6d 100644 --- a/pkgs/tools/text/highlight/default.nix +++ b/pkgs/tools/text/highlight/default.nix @@ -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 \