pngcrush: fixes compilation on darwin

+3 -1
+3 -1
pkgs/tools/graphics/pngcrush/default.nix
··· 8 8 sha256 = "0dlwbqckv90cpvg8qhkl3nk5yb75ddi61vbpmmp9n0j6qq9lp6y4"; 9 9 }; 10 10 11 + makeFlags = [ "CC=cc" "LD=cc" ]; # gcc and/or clang compat 12 + 11 13 configurePhase = '' 12 14 sed -i s,/usr,$out, Makefile 13 15 ''; ··· 18 20 homepage = http://pmt.sourceforge.net/pngcrush; 19 21 description = "A PNG optimizer"; 20 22 license = stdenv.lib.licenses.free; 21 - platforms = with stdenv.lib.platforms; linux; 23 + platforms = with stdenv.lib.platforms; linux ++ darwin; 22 24 maintainers = with stdenv.lib.maintainers; [ the-kenny ]; 23 25 }; 24 26 }