nixpkgs-suyu/pkgs/development/interpreters/elixir/setup-hook.sh
Eric Merritt 2d6d9682bb elixir: set ERL_LIBS for elixir apps
Previously Elixir didn't correct set the ERL_LIBS environment
variable for the OTP Applications that it supplies. This
change fixes that
2016-04-23 19:03:29 -07:00

5 lines
94 B
Bash

addErlLibPath() {
addToSearchPath ERL_LIBS $1/lib/elixir/lib
}
envHooks+=(addErlLibPath)