Merge pull request #224923 from amjoseph-nixpkgs/pr/chafa/cross

chafa: fix cross-compilation
This commit is contained in:
Adam Joseph 2023-04-13 03:55:09 +00:00 committed by GitHub
commit 96ba1c52e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"