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