summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/graphics
diff options
context:
space:
mode:
authorRyan Burns <rtburns@protonmail.com>2021-11-20 17:50:41 -0800
committerRyan Burns <rtburns@protonmail.com>2021-11-20 17:50:41 -0800
commit2175b157acf1fd338021bc162ec7c4d6d7f90306 (patch)
tree42240c01e72f022fd6d3bb2664960745e9ff757a /pkgs/tools/graphics
parent6aded65e28c8805bfb81e6b5fc1613633480eb16 (diff)
treewide: refactor isi686 && isx86_64 -> isx86
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r--pkgs/tools/graphics/pngquant/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/pngquant/default.nix b/pkgs/tools/graphics/pngquant/default.nix
index bb0ef8581250..dd145d48fc1b 100644
--- a/pkgs/tools/graphics/pngquant/default.nix
+++ b/pkgs/tools/graphics/pngquant/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
preConfigure = "patchShebangs .";
- configureFlags = lib.optionals (!stdenv.isi686 && !stdenv.isx86_64) [ "--disable-sse" ];
+ configureFlags = lib.optionals (!stdenv.hostPlatform.isx86) [ "--disable-sse" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libpng zlib lcms2 ];