optipng: Workaround for issue 28106.

+6
+6
pkgs/tools/graphics/optipng/default.nix
··· 17 17 buildInputs = [ libpng ]; 18 18 19 19 LDFLAGS = optional static "-static"; 20 + # Workaround for crash in cexcept.h. See 21 + # https://github.com/NixOS/nixpkgs/issues/28106 22 + preConfigure = '' 23 + export LD=$CC 24 + ''; 25 + 20 26 configureFlags = [ 21 27 "--with-system-zlib" 22 28 "--with-system-libpng"