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
you can always overwrite the patchPhase:
patchPhase = ''
unset patchPhase # reset this env var
patchPhase # run patchPhase function (default implementation)
patch -p1 your.diff
'';
your solution is cleaner though.
Marc Weber
___
nix-dev mailing