lol

s6-rc: use --replace-fail for cross substitutions

We would probably prefer a warning if an additional header is added we
need to substitute, but that is practically impossible…

+3 -3
+3 -3
pkgs/development/skaware-packages/s6-rc/default.nix
··· 50 50 # system we're cross-compiling for. 51 51 postConfigure = lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform) '' 52 52 substituteInPlace src/s6-rc/s6-rc-compile.c \ 53 - --replace '<execline/config.h>' '"${targetPackages.execline.dev}/include/execline/config.h"' \ 54 - --replace '<s6/config.h>' '"${targetPackages.s6.dev}/include/s6/config.h"' \ 55 - --replace '<s6-rc/config.h>' '"${targetPackages.s6-rc.dev}/include/s6-rc/config.h"' 53 + --replace-fail '<execline/config.h>' '"${targetPackages.execline.dev}/include/execline/config.h"' \ 54 + --replace-fail '<s6/config.h>' '"${targetPackages.s6.dev}/include/s6/config.h"' \ 55 + --replace-fail '<s6-rc/config.h>' '"${targetPackages.s6-rc.dev}/include/s6-rc/config.h"' 56 56 ''; 57 57 58 58 postInstall = ''