Skip to content

Failing on MacOs #5

@helins

Description

@helins

At its humble beginnings, this was working perfectly fine on my Mac.

However, since recently, while the lock file is seemingly updated, the process fails as such:

Downloading: org/antlr/antlr4/4.8-1/antlr4-4.8-1.jar from central
Downloading: org/abego/treelayout/org.abego.treelayout.core/1.0.3/org.abego.treelayout.core-1.0.3.jar from central
Downloading: org/flatland/ordered/1.5.9/ordered-1.5.9.jar from clojars
Traceback (most recent call last):
  File "/nix/store/bz0qinsqvapmbmm70mrb879x22w4jc0c-standalone-clojure-nix-locker/bin/standalone-clojure-nix-locker", line 43, in <module>
    "common_dir": Path(repo.common_dir).resolve().relative_to(gitlibsDir, "_repos").as_posix(),
  File "/nix/store/z740mapbgfi953b61jx72c0jy3phfcy8-python3-3.9.10/lib/python3.9/pathlib.py", line 939, in relative_to
    raise ValueError("{!r} is not in the subpath of {!r}"
ValueError: '/private/tmp/tmp.YXLrAcINKe/home/.gitlibs/_repos/https/github.com/clojure/tools.build' is not in the subpath of '/tmp/tmp.YXLrAcINKe/home/.gitlibs/_repos' OR one path is relative and the other is absolute.

Note: there is something tricky about /tmp on MacOs which is pretty much a symlink to /private/tmp (or the opposite actually).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions