libiconv: use --replace-fail instead of --replace
This commit is contained in:
parent
521ea079b9
commit
71a67fc4a8
1 changed files with 6 additions and 6 deletions
|
@ -37,12 +37,12 @@ stdenv.mkDerivation rec {
|
|||
+ lib.optionalString enableDarwinABICompat ''
|
||||
for iconv_h_in in iconv.h.in iconv.h.build.in; do
|
||||
substituteInPlace "include/$iconv_h_in" \
|
||||
--replace "#define iconv libiconv" "" \
|
||||
--replace "#define iconv_close libiconv_close" "" \
|
||||
--replace "#define iconv_open libiconv_open" "" \
|
||||
--replace "#define iconv_open_into libiconv_open_into" "" \
|
||||
--replace "#define iconvctl libiconvctl" "" \
|
||||
--replace "#define iconvlist libiconvlist" ""
|
||||
--replace-fail "#define iconv libiconv" "" \
|
||||
--replace-fail "#define iconv_close libiconv_close" "" \
|
||||
--replace-fail "#define iconv_open libiconv_open" "" \
|
||||
--replace-fail "#define iconv_open_into libiconv_open_into" "" \
|
||||
--replace-fail "#define iconvctl libiconvctl" "" \
|
||||
--replace-fail "#define iconvlist libiconvlist" ""
|
||||
done
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue