code: def write_action_env_to_bazelrc(var_name, var):
      write_to_bazelrc(
          'build --action_env {}="{}"'.format(var_name, str(var))
      )
  
imports: import os
  import platform
  import re
  import subprocess
  import sys
label_desc: Use image node_id 7 for calling a global function with example usage: write_action_env_to_bazelrc(var_name, var) without return types