odt2txt: fix darwin build
- needs libiconv in ld flags on clang
This commit is contained in:
parent
a79ff78ec4
commit
2ecb5ddea7
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, zlib }:
|
||||
{ stdenv, fetchurl, zlib, libiconv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "odt2txt-0.4";
|
||||
|
@ -10,7 +10,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
configurePhase="export makeFlags=\"DESTDIR=$out\"";
|
||||
|
||||
buildInputs = [ zlib ];
|
||||
buildInputs = [ zlib libiconv ];
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-liconv";
|
||||
|
||||
meta = {
|
||||
description = "Simple .odt to .txt converter";
|
||||
|
|
Loading…
Reference in a new issue