From b1abc2c8d6aa3cb5811e18ef14a587f7d4ceb1c2 Mon Sep 17 00:00:00 2001 From: Eric Sagnes Date: Sat, 6 Aug 2016 09:05:23 +0900 Subject: [PATCH] nixpkgs-doc: add patches to coding conventions --- doc/coding-conventions.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/doc/coding-conventions.xml b/doc/coding-conventions.xml index 8105611f2bac..4348dc8bf720 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"; + }) +]; + + +