@@ -30,7 +30,6 @@ assert withGtk3 -> dconf != null;
3030assert withGtk3 -> gtk3 != null;
3131
3232let
33− system-x86_64 = lib.elem stdenv.system lib.platforms.x86_64;
3433 compareVersion = v: builtins.compareVersions version v;
3534in
3635
@@ -258,7 +257,7 @@ stdenv.mkDerivation {
258257 "-no-warnings-are-errors"
259258 ]
260259 ++ (
261− if (!system-x86_64)
260+ if (!stdenv.hostPlatform.isx86_64)
262261 then [ "-no-sse2" ]
263262 else lib.optional (compareVersion "5.9.0" >= 0) [ "-sse2" ]
264263 )