diff --git a/doc/coding-conventions.xml b/doc/coding-conventions.xml index 8105611f2ba..4348dc8bf72 100644 --- a/doc/coding-conventions.xml +++ b/doc/coding-conventions.xml @@ -659,4 +659,22 @@ src = fetchFromGitHub { + +
Patches + Only patches that are unique to nixpkgs should be + included in nixpkgs source. + Patches available online should be retrieved using + fetchpatch. + + +patches = [ + (fetchpatch { + name = "fix-check-for-using-shared-freetype-lib.patch"; + url = "http://git.ghostscript.com/?p=ghostpdl.git;a=patch;h=8f5d285"; + sha256 = "1f0k043rng7f0rfl9hhb89qzvvksqmkrikmm38p61yfx51l325xr"; + }) +]; + + +