summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMajiir Paktu <majiir@nabaal.net>2022-12-31 11:31:47 -0500
committerMajiir Paktu <majiir@nabaal.net>2022-12-31 13:59:20 -0500
commit0ded4086d46062f6990644b393d0ba92e344f48a (patch)
tree2581d294b36b5654fa6be80185fec9bd3b6f6bf4
parent8a1c058e42037856cb7084295dac69dd78d502f4 (diff)
highlight: fix cross-compilation
-rw-r--r--pkgs/tools/text/highlight/default.nix4
1 files 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 \