libcxxabi: don't depend on libunwind

This commit is contained in:
Nicolas Mattia 2019-10-03 13:39:19 +02:00
parent cac7fdfdcd
commit 76b54c75b3

View File

@ -1,4 +1,4 @@
{ stdenv, cmake, fetch, libcxx, libunwind, llvm, version }:
{ stdenv, cmake, fetch, libcxx, llvm, version }:
stdenv.mkDerivation {
pname = "libc++abi";
@ -7,7 +7,6 @@ stdenv.mkDerivation {
src = fetch "libcxxabi" "1zcqxsdjhawgz1cvpk07y3jl6fg9p3ay4nl69zsirqb2ghgyhhb2";
nativeBuildInputs = [ cmake ];
buildInputs = stdenv.lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD) libunwind;
postUnpack = ''
unpackFile ${libcxx.src}