libc++abi: Don't use fetchsvn

This prevents the Darwin stdenv from depending on Subversion.
This commit is contained in:
Eelco Dolstra 2014-09-18 22:38:12 +02:00
parent 91ec6e0d90
commit c1cf0b7dd5
2 changed files with 11 additions and 11 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchsvn, cmake, libcxxabi, python }:
{ stdenv, fetchurl, cmake, libcxxabi, python }:
let
version = "3.4.2";

View file

@ -1,16 +1,16 @@
{ stdenv, fetchsvn, libcxx, libunwind }:
let
rev = "199626";
in stdenv.mkDerivation {
name = "libcxxabi-pre-${rev}";
{ stdenv, fetchurl, libcxx, libunwind }:
src = fetchsvn {
url = http://llvm.org/svn/llvm-project/libcxxabi/trunk;
rev = "199626";
sha256 = "0h1x1s40x5r65ar53rv34lmgcfil3zxaknqr64dka1mz29xhhrxy";
let rev = "199626"; in
stdenv.mkDerivation {
name = "libc++abi-${rev}";
src = fetchurl {
url = "http://tarballs.nixos.org/libcxxabi-${rev}.tar.bz2";
sha256 = "09wr6qwgmdzbmgfkdzfhph9giy0zd6fp3s017fcfy4g0prjn5s4c";
};
NIX_CFLAGS_LINK="-L${libunwind}/lib -lunwind";
NIX_CFLAGS_LINK = "-L${libunwind}/lib -lunwind";
postUnpack = ''
unpackFile ${libcxx.src}