@@ -39,25 +39,25 @@ pkgs.stdenv.mkDerivation rec {
3939
4040 postPatch = ''
4141 substituteInPlace scripts/arm32_sysreg.py \
42- --replace '/usr/bin/env python3' '${ python3 } /bin/python'
42+ --replace-fail '/usr/bin/env python3' '${ python3 } /bin/python'
4343 substituteInPlace scripts/gen_tee_bin.py \
44- --replace '/usr/bin/env python3' '${ python3 } /bin/python'
44+ --replace-fail '/usr/bin/env python3' '${ python3 } /bin/python'
4545 substituteInPlace scripts/pem_to_pub_c.py \
46- --replace '/usr/bin/env python3' '${ python3 } /bin/python'
46+ --replace-fail '/usr/bin/env python3' '${ python3 } /bin/python'
4747 substituteInPlace ta/pkcs11/scripts/verify-helpers.sh \
48- --replace '/bin/bash' '${ pkgs . bash } /bin/bash'
48+ --replace-fail '/bin/bash' '${ pkgs . bash } /bin/bash'
4949 substituteInPlace mk/gcc.mk \
50- --replace "\$(CROSS_COMPILE_\$(sm))objcopy" ${ binutils } /bin/${ toolchain . targetPrefix } objcopy
50+ --replace-fail "\$(CROSS_COMPILE_\$(sm))objcopy" ${ binutils } /bin/${ toolchain . targetPrefix } objcopy
5151 substituteInPlace mk/gcc.mk \
52- --replace "\$(CROSS_COMPILE_\$(sm))objdump" ${ binutils } /bin/${ toolchain . targetPrefix } objdump
52+ --replace-fail "\$(CROSS_COMPILE_\$(sm))objdump" ${ binutils } /bin/${ toolchain . targetPrefix } objdump
5353 substituteInPlace mk/gcc.mk \
54- --replace "\$(CROSS_COMPILE_\$(sm))nm" ${ binutils } /bin/${ toolchain . targetPrefix } nm
54+ --replace-fail "\$(CROSS_COMPILE_\$(sm))nm" ${ binutils } /bin/${ toolchain . targetPrefix } nm
5555 substituteInPlace mk/gcc.mk \
56- --replace "\$(CROSS_COMPILE_\$(sm))readelf" ${ binutils } /bin/${ toolchain . targetPrefix } readelf
56+ --replace-fail "\$(CROSS_COMPILE_\$(sm))readelf" ${ binutils } /bin/${ toolchain . targetPrefix } readelf
5757 substituteInPlace mk/gcc.mk \
58- --replace "\$(CROSS_COMPILE_\$(sm))ar" ${ binutils } /bin/${ toolchain . targetPrefix } ar
58+ --replace-fail "\$(CROSS_COMPILE_\$(sm))ar" ${ binutils } /bin/${ toolchain . targetPrefix } ar
5959 substituteInPlace mk/gcc.mk \
60- --replace "\$(CROSS_COMPILE_\$(sm))cpp" ${ cpp } /bin/cpp
60+ --replace-fail "\$(CROSS_COMPILE_\$(sm))cpp" ${ cpp } /bin/cpp
6161 '' ;
6262
6363 makeFlags = [
0 commit comments