question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ignoreCollisions... ignored?

See original GitHub issue

Hello,

When using mkPython in the following way:

let
  mach-nix = import (builtins.fetchGit {
    url = "https://github.com/DavHau/mach-nix/";
    ref = "refs/tags/3.0.2";
  }) {};
in
(mach-nix.mkPython {
    requirements = ''
      rasa[spacy]
    '';
}).override (_: { ignoreCollisions = true; })

I run into the following collision:

building '/nix/store/i6vyh6hij93z7wqnqk5qykd39vw39q3q-python3-3.8.5-env.drv'...
collision between `/nix/store/sn8ws24ws7wx1s90dh97rjy6crbl78kg-python3.8-rasa-sdk-2.0.0/lib/python3.8/site-packages/README.md' and `/nix/store/xwbc3fdjaxfqvz1w5igak4v9wxdshibb-python3.8-rasa-2.0.2/lib/python3.8/site-packages/README.md'

I was hoping that the ignoreCollisions = true; bit would be respected, therefore not erroring out because of a simple README collision, but it seemingly isn’t. Am I missing something obvious? And is there any way to workaround that kind of problem with mach-nix powered environments?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DavHaucommented, Oct 29, 2020

It should be fixed with 22da85eae4bdd829b772952f72bc0a269a1819d0 I stopped using buildEnv and instead override makeWrapperArgs to include the extra packages into the PATH.

We could add a general ignoreCollisions option to mach-nix. But what’s currently holding me from it, is that I don’t want people becoming used to setting this option. A collision indicates a bug most of the time and should be reported/fixed rather than ignored.

0reactions
alpmestancommented, Oct 30, 2020

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Scripting API: Physics.IgnoreCollision - Unity - Manual
Note that IgnoreCollision is not persitent. This means ignore collision state will not be stored in the editor when saving a scene. If...
Read more >
How to ignore collisions between two objects but still get the ...
So to ignore collisions between two objects while they're overlapping just use this simple coroutine: IEnumerator IgnoreCollision(Collider2D ...
Read more >
Physics ignore to avoid collision - Stack Overflow
ignore : Whether or not the collisions between the two colliders should be ignored or not. Per default it is true . To...
Read more >
Ignoring collisions without using physics layers [duplicate]
Ignoring collisions can easily be done by responding to a collision by doing nothing. Collisions without a collision response is the same as ......
Read more >
Unity Tutorial: Ignore 2D Collisions - YouTube
In this tutorial you will learn 3 methods that you can use to Ignore 2D Collisions.Enjoy!Like, Share and Subscribe.Leave your comments below ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found