Return
Just the value of the environment variable, or
Nothing if the variable is not set. The environment variable is
tracked as a dependency, and if it changes the rule will rerun in
subsequent builds. This function is a tracked version of
getEnv
/
lookupEnv from the base library.
flags <- getEnv "CFLAGS"
cmd "gcc -c" [out] (maybe [] words flags)