idris2-pack icon indicating copy to clipboard operation
idris2-pack copied to clipboard

[ feature request ] Add a dependency checker script

Open GunpowderGuy opened this issue 11 months ago • 5 comments

Rather than checking which packages your specific os/ linux distro comes with and having to install the rest, i think it would be ideal if we had the option to run a script before installation that tells us the packages we need

GunpowderGuy avatar Mar 07 '24 22:03 GunpowderGuy

This is a good idea and would be a nice thing to have. Contributions welcome.

stefan-hoeck avatar Mar 20 '24 20:03 stefan-hoeck

I can think of two ways to go ahead with this feature:

Keep per os/ distro scripts that install all necessary dependencies

Use the same method as the installation utility to check which dependencies have not been installed. How does that get sorted out?

GunpowderGuy avatar Mar 25 '24 21:03 GunpowderGuy

@stefan-hoeck how does the pack installer sort which dependencies still havent been installed

GunpowderGuy avatar Jul 12 '24 18:07 GunpowderGuy

@stefan-hoeck how does the pack installer sort which dependencies still havent been installed

Do you mean Idris dependencies or OS dependencies?

stefan-hoeck avatar Jul 12 '24 19:07 stefan-hoeck

@stefan-hoeck Os dependencies. Maybe i can reuse that system to tell the user what libraries need to be installed before running the pack install script

GunpowderGuy avatar Jul 12 '24 20:07 GunpowderGuy