stdenv.system should be almost always used instead of builtins.currentSystem or cross-evaluation (e.g. evaluating a i686 NixOS system on a 64-bit nix) will be subtly broken.