Rain 🚱 is a user on cybre.space. You can follow them or interact with them if you have an account anywhere in the fediverse.

hmm
would a package manager be a good idea? πŸ€”
it sure doesn't need one now but... if there was more software for it???

@enkiv2 I think so. If it's anything like pacman it would need to be a proper union file system (which afaik Plan 9's is not) and it would probably need some caching to make lookups faster.
So you could maybe do something like
% echo 'require lua-5.2' >> /srv/packagefs
and a subsequent
% /bin/lua
would find the relevant version

it's like and except you have to do less fighting against the OS

@enkiv2 @grainloom (packages in the package manager should use the absolute path /pacman/packagename/filename, you only link them for convenience reasons)

Rain 🚱 @grainloom

@SoniEx2 @enkiv2 Well, yes, that is essentially what does afaik. On Plan 9 you wouldn't actually create a symlink tho, you would mount the package roots into a union file system

Β· Web Β· 0 Β· 0

@grainloom @enkiv2 and then rely on the standard OS cache, and add offline mode support if you want

@SoniEx2 @enkiv2 Yeah, the standard caching is probly enough. Not sure what you mean by offline mode.

@grainloom @enkiv2 oh for when you accidentally stick a knife across the ethernet cables

@SoniEx2 @enkiv2 You can just save the packages yourself if you want to, there is nothing stopping you.
Or query what is loaded and download it.

@enkiv2 @SoniEx2
And if you want to use multiple package stores:

just `bind -a` them over /pacman/