chafa: enable structuredAttrs, use --replace-fail

This commit is contained in:
Stefan Frijters
2026-08-17 22:12:48 +02:00
parent 8c81274bcf
commit cc83da71e4

View File

@@ -22,6 +22,7 @@ stdenv.mkDerivation (finalAttrs: {
version = "1.18.2";
pname = "chafa";
__structuredAttrs = true;
strictDeps = true;
src = fetchFromGitHub {
@@ -61,7 +62,7 @@ stdenv.mkDerivation (finalAttrs: {
patches = [ ./xmlcatalog_patch.patch ];
preConfigure = ''
substituteInPlace ./autogen.sh --replace pkg-config '$PKG_CONFIG'
substituteInPlace ./autogen.sh --replace-fail pkg-config '$PKG_CONFIG'
NOCONFIGURE=1 ./autogen.sh
'';