cxxopts: use replace-fail
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
@@ -35,7 +35,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
# https://github.com/jarro2783/cxxopts/issues/332
|
# https://github.com/jarro2783/cxxopts/issues/332
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace packaging/pkgconfig.pc.in \
|
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 = [
|
patches = [
|
||||||
|
|||||||
Reference in New Issue
Block a user