to answer my own question: patches = [ ./some.patch ] refers to some.patch in the nixpkg tree patches = [ "./some.patch" ] refers to some.patch in the build dir
I just mistyped the patch name, that's why it didn't work before :) On Sun, Dec 11, 2011 at 7:48 PM, Mathijs Kwik <math...@bluescreen303.nl> wrote: > 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 _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev