Platonic-Systems / mission-control

A `flake-parts` module for your Nix devshell scripts
https://community.flake.parts/mission-control
MIT License
76 stars 11 forks source link

Very strange behaviour, cyclic execution #33

Open Ruixi-rebirth opened 1 year ago

Ruixi-rebirth commented 1 year ago

https://user-images.githubusercontent.com/75824585/235671917-cbd85828-3d15-4303-ba49-48c9b270575a.mp4

Details

srid commented 1 year ago

Ah yea, I've noticed this too, but forgot to open an issue. Basically if a mission-control script is named the same as something in your dev shell it'll lead to this. The workaround is to name it something unique.

But we should fix this behaviour, possibly as part of #31.

srid commented 1 year ago

In you case, I assume the cycle is between /run/current-system/sw/bin/install and install

Ruixi-rebirth commented 1 year ago

In you case, I assume the cycle is between /run/current-system/sw/bin/install and install

You're right