nixpkgs/pkgs/development/interpreters/erlang/setup-hook.sh

6 lines
100 B
Bash

addErlangLibPath() {
addToSearchPath ERL_LIBS $1/lib/erlang/lib
}
envHooks+=(addErlangLibPath)