diff options
author | Moritz Ulrich <moritz@tarn-vedra.de> | 2017-08-16 10:25:02 +0200 |
---|---|---|
committer | Moritz Ulrich <moritz@tarn-vedra.de> | 2017-08-16 10:25:02 +0200 |
commit | 9fab349ef58040ac5cb7db3c291d0b6cfc6cdffe (patch) | |
tree | 25bd45d17ea0aa0902bee9301e31d597c19e39bb /pkgs/tools/graphics/optipng/default.nix | |
parent | 0c1c3d2b996cff8b96b3f9b53e7780c88e1b4d13 (diff) | |
download | nixlib-9fab349ef58040ac5cb7db3c291d0b6cfc6cdffe.tar nixlib-9fab349ef58040ac5cb7db3c291d0b6cfc6cdffe.tar.gz nixlib-9fab349ef58040ac5cb7db3c291d0b6cfc6cdffe.tar.bz2 nixlib-9fab349ef58040ac5cb7db3c291d0b6cfc6cdffe.tar.lz nixlib-9fab349ef58040ac5cb7db3c291d0b6cfc6cdffe.tar.xz nixlib-9fab349ef58040ac5cb7db3c291d0b6cfc6cdffe.tar.zst nixlib-9fab349ef58040ac5cb7db3c291d0b6cfc6cdffe.zip |
optipng: Workaround for issue 28106.
Diffstat (limited to 'pkgs/tools/graphics/optipng/default.nix')
-rw-r--r-- | pkgs/tools/graphics/optipng/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/optipng/default.nix b/pkgs/tools/graphics/optipng/default.nix index 471e8ee8df47..f9b82a38344e 100644 --- a/pkgs/tools/graphics/optipng/default.nix +++ b/pkgs/tools/graphics/optipng/default.nix @@ -17,6 +17,12 @@ stdenv.mkDerivation rec { buildInputs = [ libpng ]; LDFLAGS = optional static "-static"; + # Workaround for crash in cexcept.h. See + # https://github.com/NixOS/nixpkgs/issues/28106 + preConfigure = '' + export LD=$CC + ''; + configureFlags = [ "--with-system-zlib" "--with-system-libpng" |