thiagokokada/nix-alien

Need to reselect libraries

AprilGrimoire opened this issue · 2 comments

When multiple outs provide the same library, a dialogue asking me to select which version to use appears the first time I'm running nix-alien. However, for subsequent runs there are no options to restart this process. Sometimes inappropriate choices render the program to crash, and I would like to reselect outs. I also wonder where does nix-alien stores my choices?

When multiple outs provide the same library, a dialogue asking me to select which version to use appears the first time I'm running nix-alien. However, for subsequent runs there are no options to restart this process. Sometimes inappropriate choices render the program to crash, and I would like to reselect outs.

See the README.md file, it describes the --recreate flag that you can use to force the recreation of the default.nix file. So running:

$ nix-alien --recreate <binary>

Should do the trick.

I also wonder where does nix-alien stores my choices?

You can use --print-destination flag and it will print the destination file with your choices and exit.

Closing this issue because it seems this question is solved.