From 537fdfca2074d3d8c777e97aca6fe0c0dd3cad80 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Wed, 5 Apr 2023 18:50:00 -0700 Subject: [PATCH] chafa: fix cross-compilation --- pkgs/tools/misc/chafa/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/chafa/default.nix b/pkgs/tools/misc/chafa/default.nix index 75ff4467d7103..f3d486d945491 100644 --- a/pkgs/tools/misc/chafa/default.nix +++ b/pkgs/tools/misc/chafa/default.nix @@ -31,7 +31,8 @@ stdenv.mkDerivation rec { patches = [ ./xmlcatalog_patch.patch ]; preConfigure = '' - ./autogen.sh + substituteInPlace ./autogen.sh --replace pkg-config '$PKG_CONFIG' + NOCONFIGURE=1 ./autogen.sh ''; configureFlags = [ "--enable-man"