Skip to content

Commit

Permalink
Merge pull request #189 from rosen-group/fix/issue_175
Browse files Browse the repository at this point in the history
Use absolute path to sources
  • Loading branch information
mariusvniekerk authored Apr 29, 2022
2 parents 2a9b85a + 74dc4d7 commit 7551b2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions conda_lock/conda_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,9 +740,7 @@ def create_lockfile_from_spec(
content_hash=spec.content_hash(),
channels=[c for c in spec.channels],
platforms=spec.platforms,
sources=[
relative_path(lockfile_path.parent, source) for source in spec.sources
],
sources=[str(source.resolve()) for source in spec.sources],
),
)

Expand Down

0 comments on commit 7551b2d

Please sign in to comment.