mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
chafa: enable structuredAttrs, use --replace-fail
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user