1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-21 04:09:44 +02:00

* Propagate patches from the source distribution to the destination

distribution insofar they are applicable.
This commit is contained in:
Eelco Dolstra 2004-12-29 22:17:26 +00:00
parent 4f07ebc67e
commit 6270aa727d
3 changed files with 68 additions and 18 deletions

View file

@ -193,7 +193,7 @@ while (scalar @path > 0) {
# Apply the patch.
print " applying patch...\n";
system "bspatch /tmp/nar /tmp/nar2 $patchPath";
system "@libexecdir@/bspatch /tmp/nar /tmp/nar2 $patchPath";
die "cannot apply patch `$patchPath' to /tmp/nar" if ($? != 0);
# Unpack the resulting NAR archive into the target path.