From 939e71fa40ba217dc086cf8339fced3a90697295 Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Mon, 4 Dec 2017 10:08:25 +0100 Subject: [PATCH] uwimap: Do not pollute `include/` with headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit uwimap was shipping an `include/unix.h` file that would be falsely detected by many applications (e.g. php and its modules). Due to that file we got hacks like 8c125c0c7448086cb4bd8dafd1f798d8697fcd78. This also adds some previously missing files that would normally be installed by uwimap (linkage.c, osdep/unix/*.h, …) --- pkgs/tools/networking/uwimap/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/uwimap/default.nix b/pkgs/tools/networking/uwimap/default.nix index c2c707fbc77..7cb489a3f21 100644 --- a/pkgs/tools/networking/uwimap/default.nix +++ b/pkgs/tools/networking/uwimap/default.nix @@ -29,8 +29,8 @@ stdenv.mkDerivation { "-I${openssl.dev}/include/openssl"; installPhase = '' - mkdir -p $out/bin $out/lib $out/include - cp c-client/*.h c-client/linkage.c $out/include + mkdir -p $out/bin $out/lib $out/include/c-client + cp c-client/*.h osdep/unix/*.h c-client/linkage.c c-client/auths.c $out/include/c-client/ cp c-client/c-client.a $out/lib/libc-client.a cp mailutil/mailutil imapd/imapd dmail/dmail mlock/mlock mtest/mtest tmail/tmail \ tools/{an,ua} $out/bin