This program was made to solve the problem resulting from the following sequence of events:
nix-shell -p $library, where
$libraryis needed for development
$program, which links with, or makes use of,
Orchid scans the given paths for references to the nix store and pins whatever it finds.
In other words, it makes nix take roots outside of the store+environments, hence the name.
Other nice features are:
Both a traditional default.nix and a flake are provided. Install with:
$ nix-env -f . -i
Nix >=2.4 with the
nix-command feature enabled is required.
PATH for references and pin them, run
orchid pin PATH
--help flag to see more options.
Issues are tracked at https://todo.sr.ht/~fgaz/orchid