diff options
author | Vikram Narayanan <vikram186@gmail.com> | 2021-11-11 11:25:49 -0800 |
---|---|---|
committer | Vikram Narayanan <vikram186@gmail.com> | 2021-11-13 02:38:14 -0800 |
commit | 4d25878cd2dd60edf4a819d578d5a6381eae1fa3 (patch) | |
tree | 677573fad2cff1ea1398807090a3076fa9bc0ee4 /pkgs/development/libraries/libewf | |
parent | 4d19b372ff7690cac25a6b2f854c19abbefd6276 (diff) |
libewf: Add bzip2 dependency for darwin
This is part of the series to support radare2 on darwin platforms. When built from sources on darwin platforms, libewf fails as it depends on lbz2.
Diffstat (limited to 'pkgs/development/libraries/libewf')
-rw-r--r-- | pkgs/development/libraries/libewf/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libewf/default.nix b/pkgs/development/libraries/libewf/default.nix index 5d86dd12246b3..1935c7d947ffc 100644 --- a/pkgs/development/libraries/libewf/default.nix +++ b/pkgs/development/libraries/libewf/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, lib, stdenv, zlib, openssl, libuuid, pkg-config }: +{ fetchurl, lib, stdenv, zlib, openssl, libuuid, pkg-config, bzip2 }: stdenv.mkDerivation rec { version = "20201230"; @@ -10,7 +10,8 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ zlib openssl libuuid ]; + buildInputs = [ zlib openssl libuuid ] + ++ lib.optionals stdenv.isDarwin [ bzip2 ]; meta = { description = "Library for support of the Expert Witness Compression Format"; |