From b45156e0c9be8a0e5557da55c08efcf9e96bb094 Mon Sep 17 00:00:00 2001 From: Harinn Date: Tue, 5 May 2026 14:25:26 +0700 Subject: [PATCH] libsquish: fix build on aarch64-linux --- pkgs/by-name/li/libsquish/package.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/li/libsquish/package.nix b/pkgs/by-name/li/libsquish/package.nix index e62af249fa52..adb805525272 100644 --- a/pkgs/by-name/li/libsquish/package.nix +++ b/pkgs/by-name/li/libsquish/package.nix @@ -30,7 +30,8 @@ stdenv.mkDerivation (finalAttrs: { cmakeFlags = [ (lib.cmakeBool "BUILD_SHARED_LIBS" true) (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.5") - ]; + ] + ++ lib.optional (!stdenv.hostPlatform.isx86) (lib.cmakeBool "BUILD_SQUISH_WITH_SSE2" false); meta = { description = "Library for compressing images with the DXT/S3TC standard";