From 9725eb13ef8aa921a7a75963fee451a62ea8a200 Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Sat, 21 Dec 2013 00:55:49 +0200 Subject: [PATCH] libunwind: add missing xz dependency --- pkgs/development/libraries/libunwind/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libunwind/default.nix b/pkgs/development/libraries/libunwind/default.nix index aeed6975bda0..e28038c15da3 100644 --- a/pkgs/development/libraries/libunwind/default.nix +++ b/pkgs/development/libraries/libunwind/default.nix @@ -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"