From 14dc82302c2c5e6602baf88db0551c798d6adefd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 5 Oct 2009 22:21:40 +0000 Subject: [PATCH] libffi: Install headers under "$out/include". svn path=/nixpkgs/trunk/; revision=17655 --- pkgs/development/libraries/libffi/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/libraries/libffi/default.nix b/pkgs/development/libraries/libffi/default.nix index 42e97fb8dfe4..1bcb4579bcab 100644 --- a/pkgs/development/libraries/libffi/default.nix +++ b/pkgs/development/libraries/libffi/default.nix @@ -9,6 +9,11 @@ stdenv.mkDerivation rec { doCheck = true; + postInstall = + # Install headers in the right place. + '' ln -sv "$out/lib/"libffi*/include "$out/include" + ''; + meta = { description = "libffi, a foreign function call interface library"; @@ -30,5 +35,7 @@ stdenv.mkDerivation rec { homepage = http://sources.redhat.com/libffi/; license = "http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/libffi/LICENSE?rev=1.6&content-type=text/plain&cvsroot=libffi&only_with_tag=MAIN"; + + maintainers = [ stdenv.lib.maintainers.ludo ]; }; }