libc++: Don't install include/c++/v1/Makefile

It causes many retained dependencies (e.g. on cmake). Let's hope
nobody depends on it...
This commit is contained in:
Eelco Dolstra 2014-09-24 13:15:46 +02:00
parent 1117201a97
commit 43424d9028

View file

@ -1,9 +1,8 @@
{ stdenv, fetchurl, cmake, libcxxabi }:
let
version = "3.4.2";
let version = "3.4.2"; in
in stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
name = "libc++-${version}";
src = fetchurl {
@ -21,6 +20,9 @@ in stdenv.mkDerivation rec {
passthru.abi = libcxxabi;
# Remove a Makefile that causes many retained dependencies.
postInstall = "rm $out/include/c++/v1/Makefile";
meta = {
homepage = http://libcxx.llvm.org/;
description = "A new implementation of the C++ standard library, targeting C++11";