[Nix-dev] referring to a patch that's packed inside the source tarball
Mathijs Kwik
mathijs at bluescreen303.nl
Sun Dec 11 19:48:34 CET 2011
Hi all,
I'm trying to build a nixpkg for a custom version of rsync.
As you might know, rsync has a collection of patches that they
maintain next to the official source.
I'm using mkDerivation and gave it:
srcs = [mainSrc patchesSrc]
where main and patches are fetchurls.
Nix nicely unpacks both tarballs into 1 dir.
Now, I would like to use 3 patches, which are located at ./patches/ in
the build-dir.
How can I refer to them in a default patches = [ ... ] construct?
Thanks,
Mathijs
More information about the nix-dev
mailing list