Binary package “elpa-exec-path-from-shell” in ubuntu oracular

get environment variables such as $PATH from the shell

 This library allows the user to set Emacs' `exec-path' and $PATH from
 the shell path, so that `shell-command', `compile' and the like work
 as expected.
 .
 It also allows other environment variables to be retrieved from the
 shell, so that Emacs will see the same values you get in a terminal.