···1818let
1919 # the GLES backend on rpi is untested as I don't have the hardware
2020 backend =
2121- if (stdenv.isx86_32 || stdenv.isx86_64) then "OpenGL" else "GLES";
2121+ if stdenv.hostPlatform.isx86 then "OpenGL" else "GLES";
22222323 withVLC = stdenv.isDarwin;
2424
+1-1
pkgs/os-specific/linux/nmon/default.nix
···1313 dontUnpack = true;
1414 buildPhase = "${stdenv.cc.targetPrefix}cc -o nmon ${src} -g -O2 -D JFS -D GETUSER -Wall -D LARGEMEM -lncurses -lm -g -D ${
1515 with stdenv.targetPlatform;
1616- if isx86_32 || isx86_64 then "X86"
1616+ if isx86 then "X86"
1717 else if isAarch then "ARM"
1818 else if isPower then "POWER"
1919 else "UNKNOWN"