-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GIT_DISCOVERY_ACROSS_FILESYSTEM not set #144
Comments
It seems that the $ pwd
/tmp/build_xxxxxxxxxxxxx
$ which mix
/tmp/build_xxxxxxxxxxxxx/.platform_tools/elixir/bin/mix
$ mix deps.get --only $MIX_ENV || exit 1
fatal: not a git repository (or any of the parent directories): .git |
Can not execute mix on |
It can be run with |
@syui Is everything alright with your build now or are you still stuck with this issue? |
There is still the same problem. Can not execute mix from $ {build_path}. It moves when it does in this way. https://github.com/syui/heroku-buildpack-elixir/blob/master/lib/app_funcs.sh |
I tried using @syui fork and was able to sort this issue, a PR for this would be fantastic |
Certainly the problem can be solved, But I don't really know a lot about that. |
If any of you can contribute a PR and test it out, I would be happy to merge it in. |
src : https://git.pleroma.social/pleroma/pleroma
$ cat elixir_buildpack.config erlang_version=21.2 elixir_version=1.7 always_rebuild=false runtime_path=/app $ git push heroku master remote: -----> Fetching app dependencies with mix remote: fatal: not a git repository (or any parent up to mount point /) remote: Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
$GIT_DIR
is empty,$git_dir_value
is also empty.There is no
.git
directory in$build_path
.The text was updated successfully, but these errors were encountered: