libunwind: add missing xz dependency

This commit is contained in:
Evgeny Egorochkin 2013-12-21 00:55:49 +02:00
parent 8eef07e6b0
commit 9725eb13ef

@ -1,4 +1,4 @@
{stdenv, fetchurl}:
{stdenv, fetchurl, xz}:
stdenv.mkDerivation rec {
name = "libunwind-1.1";
@ -7,7 +7,9 @@ stdenv.mkDerivation rec {
url = "mirror://savannah/libunwind/${name}.tar.gz";
sha256 = "16nhx2pahh9d62mvszc88q226q5lwjankij276fxwrm8wb50zzlx";
};
buildInputs = [ xz ];
NIX_CFLAGS_COMPILE = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
preInstall = ''
mkdir -p "$out/lib"