From 13c9e2b2858348cd65cb05706122626d86bc3eea Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 7 Dec 2011 10:29:52 +0000 Subject: [PATCH] fcgi: added "fastcgi -> ." symlink in $out/include to fix compilation of packages that expect the fastcgi library headers in a sub-directory (which is the way they're installed on some platforms, i.e. CentOS). svn path=/nixpkgs/trunk/; revision=30790 --- pkgs/development/libraries/fcgi/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/fcgi/default.nix b/pkgs/development/libraries/fcgi/default.nix index 6bea14f3837..26ff5dd245e 100644 --- a/pkgs/development/libraries/fcgi/default.nix +++ b/pkgs/development/libraries/fcgi/default.nix @@ -10,7 +10,9 @@ stdenv.mkDerivation rec { patches = [ ./gcc-4.4.diff ]; - meta = { + postInstall = "ln -s . $out/include/fastcgi"; + + meta = { description = "FastCGI is a language independent, scalable, open extension to CG"; homepage = http://www.fastcgi.com/; license = "FastCGI see LICENSE.TERMS";