cxxopts: use replace-fail

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Colin
2025-10-07 12:02:21 +02:00
committed by Sefa Eyeoglu
parent 8bfd238dd7
commit 9bdbef688a

View File

@@ -35,7 +35,7 @@ stdenv.mkDerivation (finalAttrs: {
# https://github.com/jarro2783/cxxopts/issues/332
postPatch = ''
substituteInPlace packaging/pkgconfig.pc.in \
--replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
--replace-fail '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
'';
patches = [