It's probably better to just rename that attribute to `hydraPlatforms = stdenv.lib.platforms.linux`.