mpvScripts.buildLua: Prevent patch from emitting .orig files

This commit is contained in:
nicoo 2023-11-29 12:01:22 +00:00
parent 8e5f764d6e
commit bfdc940cbb

View file

@ -36,6 +36,9 @@ lib.makeOverridable (args: stdenvNoCC.mkDerivation (extendedBy
dontBuild = true;
preferLocalBuild = true;
# Prevent `patch` from emitting `.orig` files (that end up in the output)
patchFlags = [ "--no-backup-if-mismatch" "-p1" ];
outputHashMode = "recursive";
installPhase = ''
runHook preInstall