Skip to content

Commit b66dcea

Browse files
committed
docs: add an error I encountered during testing
1 parent 0902db0 commit b66dcea

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,25 @@ during a Docker build, you might have encountered an out of memory issue.
592592
Try to rerun the same command after closing other applications which might comsume a lot of RAM.
593593
In some cases it may also be necessary to disable some kind of out-of-memory killer (also known as OOM killer or OOM deamon) but use this option with caution.
594594

595+
### Docker fails to open Git repository
596+
597+
If you see an error like
598+
```
599+
error: opening Git repository '"/home/user"': failed to resolve path '/home/your-user-name/some/path/.git/worktrees/Vatras': No such file or directory
600+
------
601+
Dockerfile:19
602+
--------------------
603+
17 |
604+
18 | # Verify all proofs and build the demo.
605+
19 | >>> RUN nix-build
606+
20 |
607+
21 | # Copy the demo with all runtime dependencies (ignoring build-time dependencies)
608+
--------------------
609+
ERROR: failed to solve: process "/bin/sh -c nix-build" did not complete successfully: exit code: 1
610+
```
611+
you may be in a Git worktree or your Git directory is out of place for some other reason.
612+
Ensure that `git rev-parse --path-format=absolute --git-common-dir` (the path of the Git repository's data) is in your current working directory by creating a fresh non-bare clone without creating a second Git worktree.
613+
595614
## Where does the library name 'Vatras' come from?
596615

597616
The name Vatras is (of course) an acronym, which stands for _VAriability language TRAnslationS_.

0 commit comments

Comments
 (0)