nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

odt2txt: fix darwin build

- needs libiconv in ld flags on clang

+4 -2
+4 -2
pkgs/tools/text/odt2txt/default.nix
··· 1 - { stdenv, fetchurl, zlib }: 1 + { stdenv, fetchurl, zlib, libiconv }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "odt2txt-0.4"; ··· 10 10 11 11 configurePhase="export makeFlags=\"DESTDIR=$out\""; 12 12 13 - buildInputs = [ zlib ]; 13 + buildInputs = [ zlib libiconv ]; 14 + 15 + NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-liconv"; 14 16 15 17 meta = { 16 18 description = "Simple .odt to .txt converter";