I don't know if this is a general Emacs issue or clojure/cider specific. Anyway: How do I pass through environment variables which work in the shell and are configured currently in my ~/.profile. Now if I lein repl in my project, this works just fine:
(System/getenv "FOO")
-> "BAR
But when I cider-jack-in in my project, the CIDER repl can't see the variable:
(System/getenv "FOO")
-> nil
I'm using the GUI (Cocoa) version of Emacs version 24.4.50. Cider version is cider-20140718.747.