libcxxabi needs coreutils for cp -d

This commit is contained in:
Eric Seidel 2014-08-21 19:32:31 -07:00 committed by Joel Taylor
parent e961c06215
commit ed42a8c138

View file

@ -1,4 +1,4 @@
{ stdenv, fetchsvn, libcxx, libunwind, gnused }:
{ stdenv, coreutils, fetchsvn, libcxx, libunwind, gnused }:
let
rev = "199626";
in stdenv.mkDerivation {
@ -12,6 +12,8 @@ in stdenv.mkDerivation {
NIX_CFLAGS_LINK="-L${libunwind}/lib -lunwind";
buildInputs = [ coreutils ];
postUnpack = ''
unpackFile ${libcxx.src}
export NIX_CFLAGS_COMPILE="-I${libunwind}/include -I$PWD/include -I$(readlink -f libcxx-*)/include"