imagelol: unbreak on aarch64-darwin

This commit is contained in:
Weijia Wang 2023-01-04 08:29:06 +01:00
parent 83481b8708
commit 67e911384e

View file

@ -27,13 +27,13 @@ stdenv.mkDerivation rec {
cp ./ImageLOL $out/bin cp ./ImageLOL $out/bin
''; '';
cmakeFlags = lib.optional (stdenv.isDarwin && stdenv.isAarch64) "-DPNG_ARM_NEON=off";
meta = with lib; { meta = with lib; {
homepage = "https://github.com/MCredstoner2004/ImageLOL"; homepage = "https://github.com/MCredstoner2004/ImageLOL";
description = "Simple program to store a file into a PNG image"; description = "Simple program to store a file into a PNG image";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.ivar ]; maintainers = [ maintainers.ivar ];
platforms = platforms.unix; platforms = platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
}; };
} }